summaryrefslogtreecommitdiff
path: root/e2fsprogs/e2p/pf.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/e2p/pf.c')
-rw-r--r--e2fsprogs/e2p/pf.c4
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++) {