aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/pending/watch.c')
-rw-r--r--toys/pending/watch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/pending/watch.c b/toys/pending/watch.c
index b7fdb5c4..8343fe1f 100644
--- a/toys/pending/watch.c
+++ b/toys/pending/watch.c
@@ -35,10 +35,10 @@ void watch_main(void)
while(toys.optargs[++i])
{
char * oldcmd = cmd;
- cmd = xmsprintf("%s %s", oldcmd, toys.optargs[i]);
+ cmd = xmprintf("%s %s", oldcmd, toys.optargs[i]);
if (CFG_TOYBOX_FREE) free(oldcmd);
}
- header = xmsprintf("Every %us: %s", TT.interval, cmd);
+ header = xmprintf("Every %us: %s", TT.interval, cmd);
hlen = strlen(header);
while(1) {