summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-11 13:57:08 +0000
committerDenis Vlasenko2008-07-11 13:57:08 +0000
commit0e52541917a80a4c5aee9d32fcc81cf9967f2aed (patch)
tree26351601d9b046a8834e9a462dc261c21877de9a /libbb
parent88643a86d07f31779b96f0beef23050b951e2fd1 (diff)
downloadbusybox-0e52541917a80a4c5aee9d32fcc81cf9967f2aed.zip
busybox-0e52541917a80a4c5aee9d32fcc81cf9967f2aed.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/mode_string.c b/libbb/mode_string.c
index b9975f4..7d4e514 100644
--- a/libbb/mode_string.c
+++ b/libbb/mode_string.c
@@ -48,7 +48,7 @@ static const mode_t mode_flags[] = {
/* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C',
* and 'B' types don't appear to be available on linux. So I removed them. */
static const char type_chars[16] ALIGN1 = "?pc?d?b?-?l?s???";
-/* 0123456789abcdef */
+/***************************************** 0123456789abcdef */
static const char mode_chars[7] ALIGN1 = "rwxSTst";
const char* FAST_FUNC bb_mode_string(mode_t mode)
@@ -88,7 +88,7 @@ const char* FAST_FUNC bb_mode_string(mode_t mode)
/* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C',
* and 'B' types don't appear to be available on linux. So I removed them. */
static const char type_chars[16] = "?pc?d?b?-?l?s???";
-/* 0123456789abcdef */
+/********************************** 0123456789abcdef */
static const char mode_chars[7] = "rwxSTst";
const char* FAST_FUNC bb_mode_string(mode_t mode)