diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/client/cifsddio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/client/cifsddio.c b/source4/client/cifsddio.c index 5d314eb383..fee5540a5a 100644 --- a/source4/client/cifsddio.c +++ b/source4/client/cifsddio.c @@ -301,6 +301,11 @@ static struct dd_iohandle * open_smb_handle(const char * host, { struct smb_handle * smbh; + if (path == NULL || *path == '\0') { + fprintf(stderr, "%s: missing path name within share //%s/%s\n", + PROGNAME, host, share); + } + DEBUG(4, ("opening SMB stream to //%s/%s for %s\n", host, share, path)); |