summaryrefslogtreecommitdiffstats
path: root/avahi-utils/avahi-set-host-name.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-utils/avahi-set-host-name.c')
-rw-r--r--avahi-utils/avahi-set-host-name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-utils/avahi-set-host-name.c b/avahi-utils/avahi-set-host-name.c
index 06f5322..8672e4e 100644
--- a/avahi-utils/avahi-set-host-name.c
+++ b/avahi-utils/avahi-set-host-name.c
@@ -107,7 +107,7 @@ static int parse_command_line(Config *c, int argc, char *argv[]) {
c->verbose = 1;
break;
default:
- fprintf(stderr, "Invalid command line argument: %c\n", o);
+ fprintf(stderr, "Invalid command line argument: %s\n", argv[optind-1]);
return -1;
}
}