diff options
Diffstat (limited to 'stream/stream_smb.c')
-rw-r--r-- | stream/stream_smb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/stream/stream_smb.c b/stream/stream_smb.c index 4c57176d2f..684940749f 100644 --- a/stream/stream_smb.c +++ b/stream/stream_smb.c @@ -23,7 +23,6 @@ #include "mp_msg.h" #include "stream.h" -#include "help_mp.h" #include "m_option.h" #include "m_struct.h" @@ -136,14 +135,14 @@ static int open_f (stream_t *stream, int mode, void *opts, int* file_format) { err = smbc_init(smb_auth_fn, 1); if (err < 0) { - mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_SMBInitError,err); + mp_tmsg(MSGT_OPEN,MSGL_ERR,"Cannot init the libsmbclient library: %d\n",err); m_struct_free(&stream_opts, opts); return STREAM_ERROR; } fd = smbc_open(filename, m,0644); if (fd < 0) { - mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_SMBFileNotFound, filename); + mp_tmsg(MSGT_OPEN,MSGL_ERR,"Could not open from LAN: '%s'\n", filename); m_struct_free(&stream_opts, opts); return STREAM_ERROR; } |