aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs/e2p/ostype.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
commit6ca409e0e4c198fe3081346eebbae3f068fe605a (patch)
tree060cb05d99220a1eda399194d1209c269f0e8cd8 /e2fsprogs/old_e2fsprogs/e2p/ostype.c
parent4185548984357df91311f30c8e43d95f33922576 (diff)
downloadbusybox-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/e2p/ostype.c')
-rw-r--r--e2fsprogs/old_e2fsprogs/e2p/ostype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/old_e2fsprogs/e2p/ostype.c b/e2fsprogs/old_e2fsprogs/e2p/ostype.c
index 0e111d408..1abe2ba91 100644
--- a/e2fsprogs/old_e2fsprogs/e2p/ostype.c
+++ b/e2fsprogs/old_e2fsprogs/e2p/ostype.c
@@ -12,7 +12,7 @@
#include <string.h>
#include <stdlib.h>
-static const char * const os_tab[] =
+static const char *const os_tab[] =
{ "Linux",
"Hurd",
"Masix",
@@ -42,7 +42,7 @@ char *e2p_os2string(int os_type)
*/
int e2p_string2os(char *str)
{
- const char * const *cpp;
+ const char *const *cpp;
int i = 0;
for (cpp = os_tab; *cpp; cpp++, i++) {