diff options
Diffstat (limited to 'source3/client/smbmount.c')
-rw-r--r-- | source3/client/smbmount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c index 0db990e8bd..ad050063ec 100644 --- a/source3/client/smbmount.c +++ b/source3/client/smbmount.c @@ -29,6 +29,7 @@ extern BOOL in_client; extern pstring user_socket_options; extern BOOL append_log; +extern fstring remote_machine; static pstring credentials; static pstring my_netbios_name; @@ -376,7 +377,7 @@ static void send_fs_socket(char *the_service, char *mount_point, struct cli_stat } /* here we are no longer interactive */ - set_remote_machine_name("smbmount"); /* sneaky ... */ + pstrcpy(remote_machine, "smbmount"); /* sneaky ... */ setup_logging("mount.smbfs", False); append_log = True; reopen_logs(); |