diff options
| author | 2015-11-06 03:24:30 +0000 | |
|---|---|---|
| committer | 2015-11-06 03:24:30 +0000 | |
| commit | cbb3c7677af27f85936485864b5ea25ee018a571 (patch) | |
| tree | bf83f3942989352c43ad5c3df2eb3b457d416624 | |
| parent | Only read/write cr4 if we have a bit to set after testing the various (diff) | |
| download | wireguard-openbsd-cbb3c7677af27f85936485864b5ea25ee018a571.tar.xz wireguard-openbsd-cbb3c7677af27f85936485864b5ea25ee018a571.zip | |
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; } |
