diff options
Diffstat (limited to 'avahi-utils/avahi-publish.c')
-rw-r--r-- | avahi-utils/avahi-publish.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-utils/avahi-publish.c b/avahi-utils/avahi-publish.c index 77dc422..4edca6f 100644 --- a/avahi-utils/avahi-publish.c +++ b/avahi-utils/avahi-publish.c @@ -290,7 +290,7 @@ static int parse_command_line(Config *c, const char *argv0, int argc, char *argv c->subtypes = avahi_string_list_add(c->subtypes, optarg); break; default: - fprintf(stderr, "Invalid command line argument: %c\n", o); + fprintf(stderr, "Invalid command line argument: %s\n", argv[optind-1]); return -1; } } |