diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-11-06 03:24:31 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-11-06 03:24:31 +0000 |
commit | 0d248d1a3ca9a505b7410addc18809b2b49a4289 (patch) | |
tree | a8e489f7f6028a13a206c7567456bf7eda228d4f | |
parent | 7db32e4e50839a3209b01641e31c79ac7a10d1a2 (diff) |
err(1, "%s", "") -> err(1, NULL)
Discussed with schwarze@
-rw-r--r-- | usr.sbin/netgroup_mkdb/util.c | 4 |
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; } |