diff options
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 d1a1c4caa..2194ac6bf 100644 --- a/e2fsprogs/e2p/pf.c +++ b/e2fsprogs/e2p/pf.c | |||
@@ -24,7 +24,7 @@ struct flags_name { | |||
24 | const char *long_name; | 24 | const char *long_name; |
25 | }; | 25 | }; |
26 | 26 | ||
27 | static struct flags_name flags_array[] = { | 27 | static const struct flags_name flags_array[] = { |
28 | { EXT2_SECRM_FL, "s", "Secure_Deletion" }, | 28 | { EXT2_SECRM_FL, "s", "Secure_Deletion" }, |
29 | { EXT2_UNRM_FL, "u" , "Undelete" }, | 29 | { EXT2_UNRM_FL, "u" , "Undelete" }, |
30 | { EXT2_SYNC_FL, "S", "Synchronous_Updates" }, | 30 | { EXT2_SYNC_FL, "S", "Synchronous_Updates" }, |
@@ -50,7 +50,7 @@ static struct flags_name flags_array[] = { | |||
50 | void print_flags (FILE * f, unsigned long flags, unsigned options) | 50 | void print_flags (FILE * f, unsigned long flags, unsigned options) |
51 | { | 51 | { |
52 | int long_opt = (options & PFOPT_LONG); | 52 | int long_opt = (options & PFOPT_LONG); |
53 | struct flags_name *fp; | 53 | const struct flags_name *fp; |
54 | int first = 1; | 54 | int first = 1; |
55 | 55 | ||
56 | for (fp = flags_array; fp->flag != 0; fp++) { | 56 | for (fp = flags_array; fp->flag != 0; fp++) { |