diff options
author | charnier <charnier@FreeBSD.org> | 2005-01-16 14:37:30 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2005-01-16 14:37:30 +0000 |
commit | b1e478129c59459f6d0a27cdfcc6efb8d6a0299e (patch) | |
tree | 38ce0dfd43307122c48df29257920ee1c35599ed | |
parent | 5dcea2459eb6d81bdeb33495b7cb226baf1fa35b (diff) | |
download | FreeBSD-src-b1e478129c59459f6d0a27cdfcc6efb8d6a0299e.zip FreeBSD-src-b1e478129c59459f6d0a27cdfcc6efb8d6a0299e.tar.gz |
Remove \n at the end of err(3) strings
-rw-r--r-- | sbin/growfs/growfs.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c index 8423743..fa5b680 100644 --- a/sbin/growfs/growfs.c +++ b/sbin/growfs/growfs.c @@ -46,10 +46,8 @@ Copyright (c) 1980, 1989, 1993 The Regents of the University of California.\n\ All rights reserved.\n"; #endif /* not lint */ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* ********************************************************** INCLUDES ***** */ #include <sys/param.h> @@ -1558,7 +1556,7 @@ rdfs(ufs2_daddr_t bno, size_t size, void *bf, int fsi) DBG_ENTER; if (bno < 0) { - err(32, "rdfs: attempting to read negative block number\n"); + err(32, "rdfs: attempting to read negative block number"); } if (lseek(fsi, (off_t)bno * DEV_BSIZE, 0) < 0) { err(33, "rdfs: seek error: %jd", (intmax_t)bno); @@ -2131,7 +2129,7 @@ main(int argc, char **argv) sblock.fs_size = dbtofsb(&osblock, p_size); if (size != 0) { if (size > p_size){ - errx(1, "There is not enough space (%d < %d)", + errx(1, "there is not enough space (%d < %d)", p_size, size); } sblock.fs_size = dbtofsb(&osblock, size); @@ -2155,7 +2153,7 @@ main(int argc, char **argv) if(sblock.fs_snapinum[j]) { errx(1, "active snapshot found in file system\n" " please remove all snapshots before " - "using growfs\n"); + "using growfs"); } if(!sblock.fs_snapinum[j]) { /* list is dense */ break; |