diff options
author | Miles Bader <miles@gnu.org> | 1996-07-02 19:26:07 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-07-02 19:26:07 +0000 |
commit | f1eb93ed0cc3853abb77e5ef47f46d35d7858f62 (patch) | |
tree | c0f4c0651ca379d04e140234037b009b021bdace | |
parent | e6a01725be3cbf69adfa915c2b68aac7c85cbc79 (diff) |
(dog):
Include all args in the asprintf.
Put the ARGV message in parens.
-rw-r--r-- | utils/login.c | 2 |
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); |