summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-11 13:59:01 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:04 +0100
commit089acd77b6cfb81b8951ae6db0fefc73c2599b22 (patch)
tree0bd5084bc735e12a082c0bca9715b02cff2d191b /source4
parent08199037033adfe878f4cd7ea55ce7e1710b1974 (diff)
downloadsamba-089acd77b6cfb81b8951ae6db0fefc73c2599b22.tar.gz
samba-089acd77b6cfb81b8951ae6db0fefc73c2599b22.tar.bz2
samba-089acd77b6cfb81b8951ae6db0fefc73c2599b22.zip
r25924: fix bug in UNIX_INFO2 push code found make make valgrindtest
metze (This used to be commit 9b151e6ceaeaa15e8cbd92f452522fe005f2382f)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/raw/rawsetfileinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/rawsetfileinfo.c b/source4/libcli/raw/rawsetfileinfo.c
index 3ae2a2dd20..67dadf3287 100644
--- a/source4/libcli/raw/rawsetfileinfo.c
+++ b/source4/libcli/raw/rawsetfileinfo.c
@@ -177,7 +177,7 @@ static bool smb_raw_setinfo_backend(struct smbcli_tree *tree,
smbcli_push_nttime(blob->data, 32, parms->unix_info2.in.change_time);
SBVAL(blob->data, 40,parms->unix_info2.in.uid);
SBVAL(blob->data, 48,parms->unix_info2.in.gid);
- SIVAL(blob->data, 52,parms->unix_info2.in.file_type);
+ SIVAL(blob->data, 56,parms->unix_info2.in.file_type);
SBVAL(blob->data, 60,parms->unix_info2.in.dev_major);
SBVAL(blob->data, 68,parms->unix_info2.in.dev_minor);
SBVAL(blob->data, 76,parms->unix_info2.in.unique_id);