artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
910f6a3
)
Correct reversed test of setmountent() return
author
guenther
<guenther@openbsd.org>
Sat, 10 Jan 2015 07:56:16 +0000
(07:56 +0000)
committer
guenther
<guenther@openbsd.org>
Sat, 10 Jan 2015 07:56:16 +0000
(07:56 +0000)
Fix from Dennis Lindroos (denafcm (at) gmail.com)
usr.bin/rdistd/filesys.c
patch
|
blob
|
history
diff --git
a/usr.bin/rdistd/filesys.c
b/usr.bin/rdistd/filesys.c
index
d827590
..
8d413a4
100644
(file)
--- a/
usr.bin/rdistd/filesys.c
+++ b/
usr.bin/rdistd/filesys.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: filesys.c,v 1.1
5 2014/07/05 10:21:24
guenther Exp $ */
+/* $OpenBSD: filesys.c,v 1.1
6 2015/01/10 07:56:16
guenther Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@
-216,7
+216,7
@@
makemntinfo(struct mntinfo *mi)
mntent_t *mnt;
int timeo = 310;
- if (setmountent()) {
+ if (
!
setmountent()) {
message(MT_NERROR, "setmntent failed: %s", SYSERR);
return(NULL);
}