From 04538bfb6c0196bb0a121ad2caead5448e1186da Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 13 Jul 2002 09:14:40 +0000 Subject: Make smbmnt a standalone program from a linker point of view. Hopefully this will make it easier to prove this package correct from an audit point of view. smbumount to follow, but it uses pstrcpy() so I'll need to decide what to do with that. Andrew Bartlett (This used to be commit 62c56f97248109ca80cc155974584bea9704cd50) --- source3/client/smbmnt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/client') diff --git a/source3/client/smbmnt.c b/source3/client/smbmnt.c index 36248987b1..ba2b1e9435 100644 --- a/source3/client/smbmnt.c +++ b/source3/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) { - SMB_STRUCT_STAT st; + struct stat st; if (chdir(mount_point) != 0) { return -1; } - if (sys_stat(".", &st) != 0) { + if (stat(".", &st) != 0) { return -1; } -- cgit