aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/lsattr.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-10-18 22:40:23 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2015-10-18 22:40:23 +0200
commit000eda41c084bae95d9e40a570cbdaa5ffd3d22e (patch)
tree848b2b10ddd0277664e27c777ea36a7f5b317929 /e2fsprogs/lsattr.c
parentd34f300db6d7a726759f4d820a61f19eacf11288 (diff)
downloadbusybox-w32-000eda41c084bae95d9e40a570cbdaa5ffd3d22e.tar.gz
busybox-w32-000eda41c084bae95d9e40a570cbdaa5ffd3d22e.tar.bz2
busybox-w32-000eda41c084bae95d9e40a570cbdaa5ffd3d22e.zip
e2fsprogs/*: convert to new-style "one file" applets
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/lsattr.c')
-rw-r--r--e2fsprogs/lsattr.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c
index 1312fe754..3a7dd6b56 100644
--- a/e2fsprogs/lsattr.c
+++ b/e2fsprogs/lsattr.c
@@ -9,14 +9,16 @@
9 * This file can be redistributed under the terms of the GNU General 9 * This file can be redistributed under the terms of the GNU General
10 * Public License 10 * Public License
11 */ 11 */
12//config:config LSATTR
13//config: bool "lsattr"
14//config: default y
15//config: select PLATFORM_LINUX
16//config: help
17//config: lsattr lists the file attributes on a second extended file system.
12 18
13/* 19//applet:IF_LSATTR(APPLET(lsattr, BB_DIR_BIN, BB_SUID_DROP))
14 * History: 20
15 * 93/10/30 - Creation 21//kbuild:lib-$(CONFIG_LSATTR) += lsattr.o e2fs_lib.o
16 * 93/11/13 - Replace stat() calls by lstat() to avoid loops
17 * 94/02/27 - Integrated in Ted's distribution
18 * 98/12/29 - Display version info only when -V specified (G M Sipe)
19 */
20 22
21//usage:#define lsattr_trivial_usage 23//usage:#define lsattr_trivial_usage
22//usage: "[-Radlv] [FILE]..." 24//usage: "[-Radlv] [FILE]..."