summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-02 19:26:07 +0000
committerMiles Bader <miles@gnu.org>1996-07-02 19:26:07 +0000
commitf1eb93ed0cc3853abb77e5ef47f46d35d7858f62 (patch)
treec0f4c0651ca379d04e140234037b009b021bdace /utils
parente6a01725be3cbf69adfa915c2b68aac7c85cbc79 (diff)
(dog):
Include all args in the asprintf. Put the ARGV message in parens.
Diffstat (limited to 'utils')
-rw-r--r--utils/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/login.c b/utils/login.c
index e1896fb0..bb1c500a 100644
--- a/utils/login.c
+++ b/utils/login.c
@@ -299,7 +299,7 @@ dog (time_t timeout, pid_t pid, char **argv)
/* Frob ARGV so that ps show something nice. */
fmt_named_interval (&tv, 0, buf, sizeof buf);
- asprintf (&argv[0], "watchdog for login %d: %s remaining", pid);
+ asprintf (&argv[0], "(watchdog for login %d: %s remaining)", pid, buf);
argv[1] = 0;
sleep (interval);