diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-11 13:57:08 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-11 13:57:08 +0000 |
commit | 0e52541917a80a4c5aee9d32fcc81cf9967f2aed (patch) | |
tree | 26351601d9b046a8834e9a462dc261c21877de9a /libbb | |
parent | 88643a86d07f31779b96f0beef23050b951e2fd1 (diff) | |
download | busybox-w32-0e52541917a80a4c5aee9d32fcc81cf9967f2aed.tar.gz busybox-w32-0e52541917a80a4c5aee9d32fcc81cf9967f2aed.tar.bz2 busybox-w32-0e52541917a80a4c5aee9d32fcc81cf9967f2aed.zip |
taskset: fix some careless code in both fancy and non-fancy cases.
-5 bytes for fancy, +5 for non-fancy
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/mode_string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/mode_string.c b/libbb/mode_string.c index b9975f4cc..7d4e514b1 100644 --- a/libbb/mode_string.c +++ b/libbb/mode_string.c | |||
@@ -48,7 +48,7 @@ static const mode_t mode_flags[] = { | |||
48 | /* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C', | 48 | /* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C', |
49 | * and 'B' types don't appear to be available on linux. So I removed them. */ | 49 | * and 'B' types don't appear to be available on linux. So I removed them. */ |
50 | static const char type_chars[16] ALIGN1 = "?pc?d?b?-?l?s???"; | 50 | static const char type_chars[16] ALIGN1 = "?pc?d?b?-?l?s???"; |
51 | /* 0123456789abcdef */ | 51 | /***************************************** 0123456789abcdef */ |
52 | static const char mode_chars[7] ALIGN1 = "rwxSTst"; | 52 | static const char mode_chars[7] ALIGN1 = "rwxSTst"; |
53 | 53 | ||
54 | const char* FAST_FUNC bb_mode_string(mode_t mode) | 54 | const char* FAST_FUNC bb_mode_string(mode_t mode) |
@@ -88,7 +88,7 @@ const char* FAST_FUNC bb_mode_string(mode_t mode) | |||
88 | /* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C', | 88 | /* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C', |
89 | * and 'B' types don't appear to be available on linux. So I removed them. */ | 89 | * and 'B' types don't appear to be available on linux. So I removed them. */ |
90 | static const char type_chars[16] = "?pc?d?b?-?l?s???"; | 90 | static const char type_chars[16] = "?pc?d?b?-?l?s???"; |
91 | /* 0123456789abcdef */ | 91 | /********************************** 0123456789abcdef */ |
92 | static const char mode_chars[7] = "rwxSTst"; | 92 | static const char mode_chars[7] = "rwxSTst"; |
93 | 93 | ||
94 | const char* FAST_FUNC bb_mode_string(mode_t mode) | 94 | const char* FAST_FUNC bb_mode_string(mode_t mode) |