From: Denis Vlasenko Date: Sun, 17 Jun 2007 19:04:58 +0000 (-0000) Subject: time: *const str = "xxx" ==> str[] = "xxx" X-Git-Tag: 1_7_0~220 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e79dd06782175d50f639180cde5b2c56933aa2ee;p=oweals%2Fbusybox.git time: *const str = "xxx" ==> str[] = "xxx" --- 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 { #define UL unsigned long -static const char *const default_format = "real\t%E\nuser\t%u\nsys\t%T"; +static const char default_format[] = "real\t%E\nuser\t%u\nsys\t%T"; /* The output format for the -p option .*/ -static const char *const posix_format = "real %e\nuser %U\nsys %S"; +static const char posix_format[] = "real %e\nuser %U\nsys %S"; /* Format string for printing all statistics verbosely. Keep this output to 24 lines so users on terminals can see it all.*/ -static const char *const long_format = +static const char long_format[] = "\tCommand being timed: \"%C\"\n" "\tUser time (seconds): %U\n" "\tSystem time (seconds): %S\n"