diff options
author | charnier <charnier@FreeBSD.org> | 1998-07-06 07:12:38 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1998-07-06 07:12:38 +0000 |
commit | bad732b7002fc7ae6bff5707b8bdfd20d51deb5e (patch) | |
tree | 99b860d809c60b59a6e7840ef23725bebef65ec0 /sbin/mount/vfslist.c | |
parent | fc36ebbafead2d41dcd89cb82e78c842c8a2dce5 (diff) | |
download | FreeBSD-src-bad732b7002fc7ae6bff5707b8bdfd20d51deb5e.zip FreeBSD-src-bad732b7002fc7ae6bff5707b8bdfd20d51deb5e.tar.gz |
Remove unused #includes. Spelling. Add rcsid. Do not dot terminate err()
strings.
Diffstat (limited to 'sbin/mount/vfslist.c')
-rw-r--r-- | sbin/mount/vfslist.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/mount/vfslist.c b/sbin/mount/vfslist.c index 15edaf3..871de26 100644 --- a/sbin/mount/vfslist.c +++ b/sbin/mount/vfslist.c @@ -34,16 +34,14 @@ #ifndef lint #if 0 static char sccsid[] = "@(#)vfslist.c 8.1 (Berkeley) 5/8/95"; -#else +#endif static const char rcsid[] = "$Id$"; -#endif #endif /* not lint */ #include <err.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> #include "extern.h" @@ -83,7 +81,7 @@ makevfslist(fslist) if (*nextcp == ',') i++; if ((av = malloc((size_t)(i + 2) * sizeof(char *))) == NULL) { - warn(NULL); + warnx("malloc failed"); return (NULL); } nextcp = fslist; |