summaryrefslogtreecommitdiff
path: root/src/vmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vmon.c')
-rw-r--r--src/vmon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vmon.c b/src/vmon.c
index 46d1386..3d4e5af 100644
--- a/src/vmon.c
+++ b/src/vmon.c
@@ -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;
}
© All Rights Reserved