Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/lsattr.c
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/lsattr.c
r1765 r2725 13 13 /* 14 14 * History: 15 * 93/10/30 16 * 93/11/13 17 * 94/02/27 18 * 98/12/29 15 * 93/10/30 - Creation 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 19 */ 20 20 … … 57 57 if (flags & OPT_PF_LONG) { 58 58 printf("%-28s ", name); 59 print_ flags(stdout, fsflags, PFOPT_LONG);60 puts("");59 print_e2flags(stdout, fsflags, PFOPT_LONG); 60 bb_putchar('\n'); 61 61 } else { 62 print_ flags(stdout, fsflags, 0);62 print_e2flags(stdout, fsflags, 0); 63 63 printf(" %s\n", name); 64 64 } … … 103 103 printf("\n%s:\n", path); 104 104 iterate_on_dir(path, lsattr_dir_proc, NULL); 105 puts("");105 bb_putchar('\n'); 106 106 } 107 107 } … … 113 113 } 114 114 115 int lsattr_main(int argc, char **argv) ;115 int lsattr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 116 116 int lsattr_main(int argc, char **argv) 117 117 {
Note:
See TracChangeset
for help on using the changeset viewer.