X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-utils%2Favahi-set-host-name.c;fp=avahi-utils%2Favahi-set-host-name.c;h=8672e4e4580cc14c521c84e37f437ef1b0b0f0f0;hb=8bc7858318a61d998527212e0948a3c469922105;hp=06f532244352f3850aa0b01bc9023a1494893282;hpb=8b792d513254e334b7ead4e47dd3f37b23b06e77;p=catta 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; } }