diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-17 19:04:58 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-17 19:04:58 +0000 |
commit | e79dd06782175d50f639180cde5b2c56933aa2ee (patch) | |
tree | 23432beb0fd55e2e3a47042d1392ad432292f121 | |
parent | 787d92645b516257de2aa726580f66774a3be163 (diff) | |
download | busybox-w32-e79dd06782175d50f639180cde5b2c56933aa2ee.tar.gz busybox-w32-e79dd06782175d50f639180cde5b2c56933aa2ee.tar.bz2 busybox-w32-e79dd06782175d50f639180cde5b2c56933aa2ee.zip |
time: *const str = "xxx" ==> str[] = "xxx"
-rw-r--r-- | miscutils/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/time.c b/miscutils/time.c index 0a2e0b7e2..705123c9e 100644 --- a/miscutils/time.c +++ b/miscutils/time.c | |||
@@ -35,15 +35,15 @@ typedef struct { | |||
35 | 35 | ||
36 | #define UL unsigned long | 36 | #define UL unsigned long |
37 | 37 | ||
38 | static const char *const default_format = "real\t%E\nuser\t%u\nsys\t%T"; | 38 | static const char default_format[] = "real\t%E\nuser\t%u\nsys\t%T"; |
39 | 39 | ||
40 | /* The output format for the -p option .*/ | 40 | /* The output format for the -p option .*/ |
41 | static const char *const posix_format = "real %e\nuser %U\nsys %S"; | 41 | static const char posix_format[] = "real %e\nuser %U\nsys %S"; |
42 | 42 | ||
43 | 43 | ||
44 | /* Format string for printing all statistics verbosely. | 44 | /* Format string for printing all statistics verbosely. |
45 | Keep this output to 24 lines so users on terminals can see it all.*/ | 45 | Keep this output to 24 lines so users on terminals can see it all.*/ |
46 | static const char *const long_format = | 46 | static const char long_format[] = |
47 | "\tCommand being timed: \"%C\"\n" | 47 | "\tCommand being timed: \"%C\"\n" |
48 | "\tUser time (seconds): %U\n" | 48 | "\tUser time (seconds): %U\n" |
49 | "\tSystem time (seconds): %S\n" | 49 | "\tSystem time (seconds): %S\n" |