diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-25 16:37:24 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-25 16:52:02 -0700 |
commit | 8128b3f414f494af1708df627851a8483aeb3160 (patch) | |
tree | bc899637d39ebff7f642ab8d7778a94ed35828f4 /src/vmon.c | |
parent | a21b85887a5565e308a84ec7bcf5656d7500163c (diff) |
vmon: two trivial cleanups
Diffstat (limited to 'src/vmon.c')
-rw-r--r-- | src/vmon.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -176,7 +176,6 @@ static void handle_sigchld(int signum) /* parse and apply argv, implementing an strace-like cli, mutates vmon. */ static int vmon_handle_argv(vmon_t *vmon, int argc, char * const argv[]) { - int i; char *const*end = &argv[argc - 1], *const*last = argv; assert(vmon); @@ -187,7 +186,7 @@ static int vmon_handle_argv(vmon_t *vmon, int argc, char * const argv[]) for (argv++; argv <= end; argv++) { if (is_flag(*argv, "-p", "--pid")) { if (vmon->pid) { - VWM_ERROR("--pid may only be specified once currently (TODO)", *argv); + VWM_ERROR("--pid may only be specified once currently (TODO)"); return 0; } |