diff options
author | Jeremy Allison <jra@samba.org> | 2003-10-28 18:32:01 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-10-28 18:32:01 +0000 |
commit | e893948e04136ed5b9ba08373a93dd55f81e2e24 (patch) | |
tree | 399f2fb909408e83baf2b84df9e28ec4957aa60f /source3/msdfs | |
parent | 3638769e02ca8d1ab9cb17d7b10e6e9cdb6ea2e5 (diff) | |
download | samba-e893948e04136ed5b9ba08373a93dd55f81e2e24.tar.gz samba-e893948e04136ed5b9ba08373a93dd55f81e2e24.tar.bz2 samba-e893948e04136ed5b9ba08373a93dd55f81e2e24.zip |
Don't log at level zero when chdir fails. Ensure correct error message is returned.
Jeremy.
(This used to be commit a7561336e770405572c13a4607b0e808225e8916)
Diffstat (limited to 'source3/msdfs')
-rw-r--r-- | source3/msdfs/msdfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/msdfs/msdfs.c b/source3/msdfs/msdfs.c index 20814c2ceb..ce29c506bb 100644 --- a/source3/msdfs/msdfs.c +++ b/source3/msdfs/msdfs.c @@ -101,7 +101,8 @@ static BOOL create_conn_struct( connection_struct *conn, int snum, char *path) return False; } if (vfs_ChDir(conn,conn->connectpath) != 0) { - DEBUG(0,("create_conn_struct: Can't ChDir to new conn path %s\n", conn->connectpath)); + DEBUG(3,("create_conn_struct: Can't ChDir to new conn path %s. Error was %s\n", + conn->connectpath, strerror(errno) )); talloc_destroy( conn->mem_ctx ); return False; } |