aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-12-19 14:24:02 -0600
committerRob Landley <rob@landley.net>2020-12-19 14:24:02 -0600
commit4b78acc7bc1af2e7e02bf07538c3f3a14c5e97ce (patch)
treebbb743500571b6cce88f8b09f6a33299430921b2 /toys/other
parentc0f0b967a81156e781ebe335eebe9932ceb10ce2 (diff)
downloadtoybox-4b78acc7bc1af2e7e02bf07538c3f3a14c5e97ce.tar.gz
FS_ENCRYPT_FL introduced too recently to depend on, use constant.
Note: can't put in portability.h because it's a linux/ include.
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/lsattr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/other/lsattr.c b/toys/other/lsattr.c
index 3e327920..547012ef 100644
--- a/toys/other/lsattr.c
+++ b/toys/other/lsattr.c
@@ -102,7 +102,8 @@ static struct ext2_attr {
{"No_Dump", FS_NODUMP_FL, 'd'},
{"No_Atime", FS_NOATIME_FL, 'A'},
{"Compression_Requested", FS_COMPR_FL, 'c'},
- {"Encrypted", FS_ENCRYPT_FL, 'E'},
+ // FS_ENCRYPT_FL added to linux 4.5 march 2016, +y7 = 2023
+ {"Encrypted", 0x800, 'E'},
{"Journaled_Data", FS_JOURNAL_DATA_FL, 'j'},
{"Indexed_directory", FS_INDEX_FL, 'I'},
{"No_Tailmerging", FS_NOTAIL_FL, 't'},