From e79dd06782175d50f639180cde5b2c56933aa2ee Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 17 Jun 2007 19:04:58 +0000 Subject: time: *const str = "xxx" ==> str[] = "xxx" --- miscutils/time.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'miscutils/time.c') 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" -- cgit v1.2.3