diff options
author | 2016-03-05 19:46:55 +0000 | |
---|---|---|
committer | 2016-03-05 19:46:55 +0000 | |
commit | aaf6c75db6e91c5b5f88bfa7869207a0c2c8098d (patch) | |
tree | 77376d5446f90e3ccaf1349e215861b43ec84810 | |
parent | Remove unused node type; ok espie@ (diff) | |
download | wireguard-openbsd-aaf6c75db6e91c5b5f88bfa7869207a0c2c8098d.tar.xz wireguard-openbsd-aaf6c75db6e91c5b5f88bfa7869207a0c2c8098d.zip |
Make the fd_set* passed to FD_ISSET() non-const: the non-macro version is
stricter (per POSIX, dang it)
-rw-r--r-- | usr.bin/kdump/ktrstruct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/ktrstruct.c b/usr.bin/kdump/ktrstruct.c index 18ae356801e..95956b2f321 100644 --- a/usr.bin/kdump/ktrstruct.c +++ b/usr.bin/kdump/ktrstruct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ktrstruct.c,v 1.16 2016/01/14 05:27:42 guenther Exp $ */ +/* $OpenBSD: ktrstruct.c,v 1.17 2016/03/05 19:46:55 guenther Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -309,7 +309,7 @@ ktrtfork(const struct __tfork *tf) } static void -ktrfdset(const struct fd_set *fds, int len) +ktrfdset(struct fd_set *fds, int len) { int nfds, i, start = -1; char sep = ' '; |