aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/lsattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/lsattr.c')
-rw-r--r--e2fsprogs/lsattr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c
index c58948698..13eeb35f5 100644
--- a/e2fsprogs/lsattr.c
+++ b/e2fsprogs/lsattr.c
@@ -102,10 +102,8 @@ int lsattr_main(int argc ATTRIBUTE_UNUSED, char **argv)
102 argv += optind; 102 argv += optind;
103 103
104 if (!*argv) 104 if (!*argv)
105 lsattr_args("."); 105 *--argv = (char*)".";
106 else { 106 do lsattr_args(*argv++); while (*argv);
107 do lsattr_args(*argv++); while (*argv);
108 }
109 107
110 return EXIT_SUCCESS; 108 return EXIT_SUCCESS;
111} 109}