diff options
author | jkh <jkh@FreeBSD.org> | 1997-06-29 00:33:17 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-06-29 00:33:17 +0000 |
commit | f8b9ad4f30d3e1eb9d5bce568a61b5a4ca35a8ad (patch) | |
tree | f49c9a7620a7dd9fcb65fd918bfcd7febdb9f955 /lib/libc/gen/stringlist.c | |
parent | 70ac32a720a870252f0269414036cc2bb6cedf6a (diff) | |
download | FreeBSD-src-f8b9ad4f30d3e1eb9d5bce568a61b5a4ca35a8ad.zip FreeBSD-src-f8b9ad4f30d3e1eb9d5bce568a61b5a4ca35a8ad.tar.gz |
_err() -> err().
Diffstat (limited to 'lib/libc/gen/stringlist.c')
-rw-r--r-- | lib/libc/gen/stringlist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/stringlist.c b/lib/libc/gen/stringlist.c index 69667a8..57c4d91 100644 --- a/lib/libc/gen/stringlist.c +++ b/lib/libc/gen/stringlist.c @@ -51,13 +51,13 @@ sl_init() { StringList *sl = malloc(sizeof(StringList)); if (sl == NULL) - _err(1, "stringlist: %m"); + err(1, "stringlist: %m"); sl->sl_cur = 0; sl->sl_max = _SL_CHUNKSIZE; sl->sl_str = malloc(sl->sl_max * sizeof(char *)); if (sl->sl_str == NULL) - _err(1, "stringlist: %m"); + err(1, "stringlist: %m"); return sl; } @@ -74,7 +74,7 @@ sl_add(sl, name) sl->sl_max += _SL_CHUNKSIZE; sl->sl_str = realloc(sl->sl_str, sl->sl_max * sizeof(char *)); if (sl->sl_str == NULL) - _err(1, "stringlist: %m"); + err(1, "stringlist: %m"); } sl->sl_str[sl->sl_cur++] = name; } |