diff options
author | Michael Forney <mforney@mforney.org> | 2019-06-04 12:26:38 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-06-06 13:31:41 +0100 |
commit | a9752e5f74e203fdd9cf5287c83e92882a11a7e4 (patch) | |
tree | fa2ae7b2062192e6076934fd473ac6af09721ffc /lib | |
parent | f6691d0a20dc3c4434f48d885fa2b67d1ed7137a (diff) | |
download | libfuse-a9752e5f74e203fdd9cf5287c83e92882a11a7e4.tar.gz |
Don't omit second operand to `?` operator
This is a GNU C extension.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/fuse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |