summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-17 19:04:58 +0000
committerDenis Vlasenko2007-06-17 19:04:58 +0000
commite79dd06782175d50f639180cde5b2c56933aa2ee (patch)
tree23432beb0fd55e2e3a47042d1392ad432292f121
parent787d92645b516257de2aa726580f66774a3be163 (diff)
downloadbusybox-e79dd06782175d50f639180cde5b2c56933aa2ee.zip
busybox-e79dd06782175d50f639180cde5b2c56933aa2ee.tar.gz
time: *const str = "xxx" ==> str[] = "xxx"
-rw-r--r--miscutils/time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/time.c b/miscutils/time.c
index 0a2e0b7..705123c 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"