summaryrefslogtreecommitdiffstats
path: root/usr.sbin/netgroup_mkdb/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/netgroup_mkdb/util.c')
-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;
}