taskset: fix some careless code in both fancy and non-fancy cases.

-5 bytes for fancy, +5 for non-fancy
This commit is contained in:
Denis Vlasenko
2008-07-11 13:57:08 +00:00
parent 88643a86d0
commit 0e52541917
3 changed files with 39 additions and 15 deletions

View File

@ -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)