summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-11-06 03:24:31 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-11-06 03:24:31 +0000
commit0d248d1a3ca9a505b7410addc18809b2b49a4289 (patch)
treea8e489f7f6028a13a206c7567456bf7eda228d4f
parent7db32e4e50839a3209b01641e31c79ac7a10d1a2 (diff)
err(1, "%s", "") -> err(1, NULL)
Discussed with schwarze@
-rw-r--r--usr.sbin/netgroup_mkdb/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/netgroup_mkdb/util.c b/usr.sbin/netgroup_mkdb/util.c
index 065c5022833..0fc623b753d 100644
--- a/usr.sbin/netgroup_mkdb/util.c
+++ b/usr.sbin/netgroup_mkdb/util.c
@@ -43,7 +43,7 @@ emalloc(size_t s)
{
void *ptr = malloc(s);
if (ptr == NULL)
- err(1, "%s", "");
+ err(1, NULL);
return ptr;
}
@@ -56,7 +56,7 @@ erealloc(void *p, size_t s)
{
void *ptr = realloc(p, s);
if (ptr == NULL)
- err(1, "%s", "");
+ err(1, NULL);
return ptr;
}