diff options
author | phk <phk@FreeBSD.org> | 2002-07-30 13:01:25 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-07-30 13:01:25 +0000 |
commit | 86b15117de99802621746d29e72559dfc406c288 (patch) | |
tree | 7daf4abe19efa8d3f7664a50af93273566208a45 /sbin/fsck_ffs/setup.c | |
parent | 751506574574dc76e9eaeefade4379d55c7dcd4e (diff) | |
download | FreeBSD-src-86b15117de99802621746d29e72559dfc406c288.zip FreeBSD-src-86b15117de99802621746d29e72559dfc406c288.tar.gz |
Warning cleanup.
Format changes by peter
Diffstat (limited to 'sbin/fsck_ffs/setup.c')
-rw-r--r-- | sbin/fsck_ffs/setup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c index 243edbe..83bf30f 100644 --- a/sbin/fsck_ffs/setup.c +++ b/sbin/fsck_ffs/setup.c @@ -60,7 +60,7 @@ struct bufarea asblk; #define altsblock (*asblk.b_un.b_fs) #define POWEROF2(num) (((num) & ((num) - 1)) == 0) -static void badsb(int listerr, char *s); +static void badsb(int listerr, const char *s); static int calcsb(char *dev, int devfd, struct fs *fs); static struct disklabel *getdisklabel(char *s, int fd); @@ -74,7 +74,6 @@ setup(char *dev) { long cg, asked, i, j; long bmapsize; - off_t sizepb; struct stat statb; struct fs proto; size_t size; @@ -389,7 +388,7 @@ readsb(int listerr) } static void -badsb(int listerr, char *s) +badsb(int listerr, const char *s) { if (!listerr) |