diff options
author | "Vladimir N. Oleynik" | 2005-10-20 11:17:48 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" | 2005-10-20 11:17:48 +0000 |
commit | 1f0262bcdb352e9a75a4e5f48cd63d05714e2859 (patch) | |
tree | e191e1f4019e7b0daf47f9077e375588f77b3c6a /e2fsprogs/e2p/pf.c | |
parent | 0fa9deda1706b19e5f42ed392483a582880aaca3 (diff) | |
download | busybox-1f0262bcdb352e9a75a4e5f48cd63d05714e2859.zip busybox-1f0262bcdb352e9a75a4e5f48cd63d05714e2859.tar.gz |
another more const
Diffstat (limited to 'e2fsprogs/e2p/pf.c')
-rw-r--r-- | e2fsprogs/e2p/pf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/e2p/pf.c b/e2fsprogs/e2p/pf.c index d1a1c4c..2194ac6 100644 --- a/e2fsprogs/e2p/pf.c +++ b/e2fsprogs/e2p/pf.c @@ -24,7 +24,7 @@ struct flags_name { const char *long_name; }; -static struct flags_name flags_array[] = { +static const struct flags_name flags_array[] = { { EXT2_SECRM_FL, "s", "Secure_Deletion" }, { EXT2_UNRM_FL, "u" , "Undelete" }, { EXT2_SYNC_FL, "S", "Synchronous_Updates" }, @@ -50,7 +50,7 @@ static struct flags_name flags_array[] = { void print_flags (FILE * f, unsigned long flags, unsigned options) { int long_opt = (options & PFOPT_LONG); - struct flags_name *fp; + const struct flags_name *fp; int first = 1; for (fp = flags_array; fp->flag != 0; fp++) { |