diff options
Diffstat (limited to 'sbin/newfs/newfs.c')
-rw-r--r-- | sbin/newfs/newfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index cf26619..a133f54 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -84,7 +84,7 @@ struct mntopt mopts[] = { }; #if __STDC__ -void fatal(const char *fmt, ...); +void fatal(const char *fmt, ...) __printflike(1, 2); #else void fatal(); #endif @@ -562,9 +562,9 @@ main(argc, argv) } #ifdef COMPAT -char lmsg[] = "%s: can't read disk label; disk type must be specified"; +const char lmsg[] = "%s: can't read disk label; disk type must be specified"; #else -char lmsg[] = "%s: can't read disk label"; +const char lmsg[] = "%s: can't read disk label"; #endif struct disklabel * |