summaryrefslogtreecommitdiff
path: root/libnetfs/io-seek.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/io-seek.c')
-rw-r--r--libnetfs/io-seek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/io-seek.c b/libnetfs/io-seek.c
index 55d924c8..1e517ff4 100644
--- a/libnetfs/io-seek.c
+++ b/libnetfs/io-seek.c
@@ -47,7 +47,7 @@ netfs_S_io_seek (struct protid *user,
break;
case SEEK_END:
- err = netfs_validate_stat (user->po->np, user->credential);
+ err = netfs_validate_stat (user->po->np, user->user);
if (!err)
user->po->filepointer = user->po->np->nn_stat.st_size + offset;
break;