aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-06-04 12:26:38 -0700
committerNikolaus Rath <Nikolaus@rath.org>2019-06-06 13:31:41 +0100
commita9752e5f74e203fdd9cf5287c83e92882a11a7e4 (patch)
treefa2ae7b2062192e6076934fd473ac6af09721ffc /lib
parentf6691d0a20dc3c4434f48d885fa2b67d1ed7137a (diff)
downloadlibfuse-a9752e5f74e203fdd9cf5287c83e92882a11a7e4.tar.gz
Don't omit second operand to `?` operator
This is a GNU C extension.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/fuse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuse.c b/lib/fuse.c
index 5c3b55b..5f8af4d 100755
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -4261,7 +4261,7 @@ static void fuse_lib_ioctl(fuse_req_t req, fuse_ino_t ino, unsigned int cmd,
fuse_prepare_interrupt(f, req, &d);
err = fuse_fs_ioctl(f->fs, path, cmd, arg, &fi, flags,
- out_buf ?: (void *)in_buf);
+ out_buf ? out_buf : (void *)in_buf);
fuse_finish_interrupt(f, req, &d);
free_path(f, ino, path);