From 089acd77b6cfb81b8951ae6db0fefc73c2599b22 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 11 Nov 2007 13:59:01 +0100 Subject: r25924: fix bug in UNIX_INFO2 push code found make make valgrindtest metze (This used to be commit 9b151e6ceaeaa15e8cbd92f452522fe005f2382f) --- source4/libcli/raw/rawsetfileinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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); -- cgit