diff options
author | des <des@FreeBSD.org> | 2007-05-23 10:06:03 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2007-05-23 10:06:03 +0000 |
commit | aac7a2ca82f3bcb6a749f1b4d1d403e3f718d928 (patch) | |
tree | f67c800f2632c5c37344f696f63c82d992e4b6fb /lib/libutil | |
parent | 799e37dd6b2764f099717642f6b0c21130154362 (diff) | |
download | FreeBSD-src-aac7a2ca82f3bcb6a749f1b4d1d403e3f718d928.zip FreeBSD-src-aac7a2ca82f3bcb6a749f1b4d1d403e3f718d928.tar.gz |
Fix stupid braino in previous commit.
Diffstat (limited to 'lib/libutil')
-rw-r--r-- | lib/libutil/flopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libutil/flopen.c b/lib/libutil/flopen.c index 92254cc..b99055e 100644 --- a/lib/libutil/flopen.c +++ b/lib/libutil/flopen.c @@ -63,7 +63,7 @@ flopen(const char *path, int flags, ...) operation |= LOCK_NB; truncate = (flags & O_TRUNC); - flags |= ~O_TRUNC; + flags &= ~O_TRUNC; for (;;) { if ((fd = open(path, flags, mode)) == -1) |