diff options
author | Jakob Schlyter <jakob@cvs.openbsd.org> | 2004-09-29 20:56:11 +0000 |
---|---|---|
committer | Jakob Schlyter <jakob@cvs.openbsd.org> | 2004-09-29 20:56:11 +0000 |
commit | f5e2947623129ea59d2a357bf6a195d586f45af4 (patch) | |
tree | 09c87fcd6445e258caca1fa02ccb8f097151c3be /usr.sbin/bind/bin | |
parent | d73d91884f17d7d1790ef1624f332a805adb80f5 (diff) |
fix return value
Diffstat (limited to 'usr.sbin/bind/bin')
-rw-r--r-- | usr.sbin/bind/bin/named/unix/os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bind/bin/named/unix/os.c b/usr.sbin/bind/bin/named/unix/os.c index ddd339e8d17..f4bd3415a32 100644 --- a/usr.sbin/bind/bin/named/unix/os.c +++ b/usr.sbin/bind/bin/named/unix/os.c @@ -510,7 +510,7 @@ open_pidfile(const char *filename, isc_boolean_t first_time) { cleanup_pidfile(); if (filename == NULL) - return; + return -1; len = strlen(filename); pidfile = malloc(len + 1); |