aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2005-01-16 14:37:30 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2005-01-16 14:37:30 +0000
commite3ec673e977fa2a6124ad230de63df3cc7becc16 (patch)
tree38ce0dfd43307122c48df29257920ee1c35599ed
parenta9357c744c1c56db3d291651002eea0eca8bf735 (diff)
downloadsrc-e3ec673e977fa2a6124ad230de63df3cc7becc16.tar.gz
src-e3ec673e977fa2a6124ad230de63df3cc7becc16.zip
Remove \n at the end of err(3) strings
Notes
Notes: svn path=/head/; revision=140351
-rw-r--r--sbin/growfs/growfs.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c
index 8423743a88a4..fa5b680006ab 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;