summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/unix/dir.c
diff options
context:
space:
mode:
authorjakob <jakob@openbsd.org>2003-11-18 14:14:04 +0000
committerjakob <jakob@openbsd.org>2003-11-18 14:14:04 +0000
commit3dee7a5ac7752712c6d65bed4fce5a0337bbaa09 (patch)
tree3a006eafb779ce1fb8162897fd14ccd92524c4ac /usr.sbin/bind/lib/isc/unix/dir.c
parentuse bn_asm_vax.S (from netbsd); test + ok by miod (diff)
downloadwireguard-openbsd-3dee7a5ac7752712c6d65bed4fce5a0337bbaa09.tar.xz
wireguard-openbsd-3dee7a5ac7752712c6d65bed4fce5a0337bbaa09.zip
update to BIND v9.2.3. ok todd@
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/dir.c')
-rw-r--r--usr.sbin/bind/lib/isc/unix/dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bind/lib/isc/unix/dir.c b/usr.sbin/bind/lib/isc/unix/dir.c
index f40ab1ba653..0ad998d1968 100644
--- a/usr.sbin/bind/lib/isc/unix/dir.c
+++ b/usr.sbin/bind/lib/isc/unix/dir.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1999-2001 Internet Software Consortium.
+ * Copyright (C) 1999-2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $ISC: dir.c,v 1.18 2001/06/08 23:50:31 tale Exp $ */
+/* $ISC: dir.c,v 1.18.2.2 2003/10/09 07:32:52 marka Exp $ */
/* Principal Authors: DCL */
@@ -164,7 +164,7 @@ isc_dir_current(char *dirname, size_t length, isc_boolean_t end_sep) {
* XXXDCL Could automatically allocate memory if dirname == NULL.
*/
REQUIRE(dirname != NULL);
- REQUIRE(length > 0);
+ REQUIRE(length > 0U);
cwd = getcwd(dirname, length);