From 270ea0a81dacf6a2073019d232b6f106e33eeb14 Mon Sep 17 00:00:00 2001 From: Sebastien Estienne Date: Mon, 31 Oct 2005 23:29:24 +0000 Subject: * many small fixes for NetBSD git-svn-id: file:///home/lennart/svn/public/avahi/trunk@911 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-daemon/setproctitle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avahi-daemon') 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); -- cgit