diff options
author | delphij <delphij@FreeBSD.org> | 2013-05-16 21:04:56 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-05-16 21:04:56 +0000 |
commit | 1d06cba9f7ba5d8236e7e8617cd610b6b303e631 (patch) | |
tree | 441a4341dbe4d7409775d121a83e6159b8c05ddf /sbin/tunefs | |
parent | 78727b1b3d73a43a80d58a2bcb5ad4739f0a1d5d (diff) | |
download | FreeBSD-src-1d06cba9f7ba5d8236e7e8617cd610b6b303e631.zip FreeBSD-src-1d06cba9f7ba5d8236e7e8617cd610b6b303e631.tar.gz |
Constify string pointers.
Verified with: sha256(1)
MFC after: 2 weeks
Diffstat (limited to 'sbin/tunefs')
-rw-r--r-- | sbin/tunefs/tunefs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c index 2ad01c0..15c6cf0 100644 --- a/sbin/tunefs/tunefs.c +++ b/sbin/tunefs/tunefs.c @@ -84,8 +84,8 @@ static void sbdirty(void); int main(int argc, char *argv[]) { - char *avalue, *jvalue, *Jvalue, *Lvalue, *lvalue, *Nvalue, *nvalue; - char *tvalue; + const char *avalue, *jvalue, *Jvalue, *Lvalue, *lvalue, *Nvalue, *nvalue; + const char *tvalue; const char *special, *on; const char *name; int active; @@ -711,7 +711,7 @@ journal_findfile(void) } static void -dir_clear_block(char *block, off_t off) +dir_clear_block(const char *block, off_t off) { struct direct *dp; |