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:
@ -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)
|
||||
|
Reference in New Issue
Block a user