artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1b3a0e
)
Get rid of set but not used compiler warning.
author
anton
<anton@openbsd.org>
Thu, 28 Apr 2022 05:28:57 +0000
(
05:28
+0000)
committer
anton
<anton@openbsd.org>
Thu, 28 Apr 2022 05:28:57 +0000
(
05:28
+0000)
regress/sys/kern/flock/flock.c
patch
|
blob
|
history
diff --git
a/regress/sys/kern/flock/flock.c
b/regress/sys/kern/flock/flock.c
index
154b853
..
f4fa317
100644
(file)
--- a/
regress/sys/kern/flock/flock.c
+++ b/
regress/sys/kern/flock/flock.c
@@
-1288,6
+1288,7
@@
test15(int fd)
err(1, "reading from pipe (child)");
fd2 = dup(fd);
+ FAIL(fd2 == -1);
if (flock(fd, LOCK_SH) < 0)
err(1, "flock shared");