diff options
Diffstat (limited to 'libnetfs/file-set-translator.c')
-rw-r--r-- | libnetfs/file-set-translator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/file-set-translator.c b/libnetfs/file-set-translator.c index 4c29d952..b107ccd5 100644 --- a/libnetfs/file-set-translator.c +++ b/libnetfs/file-set-translator.c @@ -39,7 +39,7 @@ netfs_S_file_set_translator (struct protid *user, if (!(passive_flags & FS_TRANS_SET) && !(active_flags & FS_TRANS_SET)) return 0; - if (passive && passive[passivelen - 1]) + if (passivelen && passive[passivelen - 1]) return EINVAL; np = user->po->np; |