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