summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbw_dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbwrapper/smbw_dir.c')
-rw-r--r--source3/smbwrapper/smbw_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c
index 3dd10d4925..7c6e6db70a 100644
--- a/source3/smbwrapper/smbw_dir.c
+++ b/source3/smbwrapper/smbw_dir.c
@@ -147,7 +147,7 @@ static void smbw_printjob_add(struct print_job_info *job)
finfo.atime = job->t;
finfo.ctime = job->t;
finfo.uid = (uid_t)-1;
- nametouid(job->user, finfo.uid);
+ nametouid(job->user, &finfo.uid);
finfo.mode = aRONLY;
finfo.size = job->size;