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/pass5.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/pass5.c')
-rw-r--r-- | sbin/fsck_ffs/pass5.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c index 707872b..d11008e 100644 --- a/sbin/fsck_ffs/pass5.c +++ b/sbin/fsck_ffs/pass5.c @@ -50,7 +50,7 @@ static const char rcsid[] = #include "fsck.h" -static void check_maps(u_char *, u_char *, int, int, char *, int *, int, int); +static void check_maps(u_char *, u_char *, int, int, const char *, int *, int, int); void pass5(void) @@ -81,7 +81,7 @@ pass5(void) } } if (fs->fs_maxcontig > 1) { - char *doit = 0; + const char *doit = 0; if (fs->fs_contigsumsize < 1) { doit = "CREAT"; @@ -348,7 +348,7 @@ check_maps( u_char *map2, /* map of determined allocations */ int mapsize, /* size of above two maps */ int startvalue, /* resource value for first element in map */ - char *name, /* name of resource found in maps */ + const char *name, /* name of resource found in maps */ int *opcode, /* sysctl opcode to free resource */ int skip, /* number of entries to skip before starting to free */ int limit) /* limit on number of entries to free */ |