summaryrefslogtreecommitdiff
path: root/libnetfs/file-syncfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-syncfs.c')
-rw-r--r--libnetfs/file-syncfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/file-syncfs.c b/libnetfs/file-syncfs.c
index fbc1b55e..13af70ff 100644
--- a/libnetfs/file-syncfs.c
+++ b/libnetfs/file-syncfs.c
@@ -28,7 +28,7 @@ netfs_S_file_syncfs (struct protid *user,
{
error_t err;
- if (!cred)
+ if (!user)
return EOPNOTSUPP;
/* Translators not yet supported by netfs. XXX */