1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4:ntvfs/posix: correctly reset errno on success in pvfs_sys_mkdir()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-02-27 09:29:36 +01:00 committed by Andrew Bartlett
parent 0053603283
commit 2b098c15fd

View File

@ -541,6 +541,7 @@ int pvfs_sys_mkdir(struct pvfs_state *pvfs, const char *dirname, mode_t mode, bo
}
talloc_free(ctx);
errno = orig_errno;
return ret;
}