diff options
Diffstat (limited to 'source/client/smbmnt.c')
-rw-r--r-- | source/client/smbmnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/client/smbmnt.c b/source/client/smbmnt.c index ba2b1e9435d..36248987b1e 100644 --- a/source/client/smbmnt.c +++ b/source/client/smbmnt.c @@ -111,13 +111,13 @@ fullpath(const char *p) OK then we change into that directory - this prevents race conditions */ static int mount_ok(char *mount_point) { - struct stat st; + SMB_STRUCT_STAT st; if (chdir(mount_point) != 0) { return -1; } - if (stat(".", &st) != 0) { + if (sys_stat(".", &st) != 0) { return -1; } |