summaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
authorDenys Vlasenko2013-01-22 10:13:52 +0100
committerDenys Vlasenko2013-01-22 10:13:52 +0100
commit778794d1dd99f29d099eb80ae2750381bc5e0059 (patch)
tree8c7b648fd7c5995afca509d0a23f7124d21c3daa /procps/top.c
parent6aab061d2d6243505f7c21c7a92dcebc3922784c (diff)
downloadbusybox-778794d1dd99f29d099eb80ae2750381bc5e0059.zip
busybox-778794d1dd99f29d099eb80ae2750381bc5e0059.tar.gz
*: reuse more strings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 2908bd3..abee698 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -294,7 +294,7 @@ static void get_jiffy_counts(void)
* they are used to calculate per process CPU% */
prev_jif = cur_jif;
if (read_cpu_jiffy(fp, &cur_jif) < 4)
- bb_error_msg_and_die("can't read /proc/stat");
+ bb_error_msg_and_die("can't read '%s'", "/proc/stat");
#if !ENABLE_FEATURE_TOP_SMP_CPU
fclose(fp);