summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/setproctitle.c
diff options
context:
space:
mode:
authorSebastien Estienne <sebastien.estienne@gmail.com>2005-10-31 23:29:24 +0000
committerSebastien Estienne <sebastien.estienne@gmail.com>2005-10-31 23:29:24 +0000
commit270ea0a81dacf6a2073019d232b6f106e33eeb14 (patch)
tree3442eae23e0241be1d5f432cbf2e0b108cff80dc /avahi-daemon/setproctitle.c
parentc52e4dc323f39d9a9ee59062d95d769882497f1b (diff)
* many small fixes for NetBSD
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@911 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon/setproctitle.c')
-rw-r--r--avahi-daemon/setproctitle.c2
1 files changed, 1 insertions, 1 deletions
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);