X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fcommand-line.c;h=70b1f4d1b1f2b38bb764f41e9db46c7952442a1f;hb=666afb55e84e9118812de81a75655ec9567b7a5b;hp=b881c042ada693eece3e3d59079d491aaabcbbb6;hpb=90967e953f5019299b5b5e2d70f440d82c32e2f1;p=sliver-openvswitch.git diff --git a/lib/command-line.c b/lib/command-line.c index b881c042a..70b1f4d1b 100644 --- a/lib/command-line.c +++ b/lib/command-line.c @@ -190,8 +190,8 @@ proctitle_init(int argc OVS_UNUSED, char **argv OVS_UNUSED) { } -#ifndef __FreeBSD__ -/* On FreeBSD we #define this to setproctitle. */ +#if !(defined(__FreeBSD__) || defined(__NetBSD__)) +/* On these platforms we #define this to setproctitle. */ void proctitle_set(const char *format OVS_UNUSED, ...) {