X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-daemon%2Fsetproctitle.c;h=f8d3ddbc94fd11df31cf6f446bdf5f3933dd4716;hb=d68819ff6dba074f1c5fac5fadd52fcfe154de24;hp=819f7b0e7127b7f056bef7d806908ca4a2a076aa;hpb=5dcd0f6ff8458786206bace673263bcc04b53edf;p=catta diff --git a/avahi-daemon/setproctitle.c b/avahi-daemon/setproctitle.c index 819f7b0..f8d3ddb 100644 --- a/avahi-daemon/setproctitle.c +++ b/avahi-daemon/setproctitle.c @@ -78,7 +78,7 @@ void avahi_set_proc_title(const char *fmt,...) { char t[256]; va_list ap; - va_start(ap); + va_start(ap, fmt); vsnprintf(t, sizeof(t), fmt, ap); va_end(ap);