aboutsummaryrefslogtreecommitdiff
path: root/toys/other/watch.c
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-28 21:12:48 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-28 21:12:48 +0000
commit85e05bb783bf18b84a71354dd688864fcd4e031c (patch)
tree5c37a9adc3617aafb184deac4bfe2e6819fd91c9 /toys/other/watch.c
parent36b233719dc13f995b4d8794cd85b21ea032b1c0 (diff)
parent6511f674cf96a62172cf24639febb6a11b14939c (diff)
downloadtoybox-85e05bb783bf18b84a71354dd688864fcd4e031c.tar.gz
Snap for 11510257 from 6511f674cf96a62172cf24639febb6a11b14939c to simpleperf-releasesimpleperf-release
Change-Id: I74d7e50aaa3935a44bec09880de65791cc3ff774
Diffstat (limited to 'toys/other/watch.c')
-rw-r--r--toys/other/watch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/other/watch.c b/toys/other/watch.c
index f8f3dfb1..14048d85 100644
--- a/toys/other/watch.c
+++ b/toys/other/watch.c
@@ -106,8 +106,8 @@ void watch_main(void)
// Get and measure time string, trimming gratuitous \n
ctimelen = strlen(ss = ctime(&t));
if (ss[ctimelen-1]=='\n') ss[--ctimelen] = 0;
-
- // print cmdline, then * or ' ' (showing truncation), then ctime
+
+ // print cmdline, then * or ' ' (showing truncation), then ctime
pad = width-++ctimelen;
if (pad>0) draw_trim(cmd, -pad, pad);
printf("%c", pad<cmdlen ? '*' : ' ');