summaryrefslogtreecommitdiff
path: root/vdr_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'vdr_menu.c')
-rw-r--r--vdr_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr_menu.c b/vdr_menu.c
index 05b71d2..3dfddb9 100644
--- a/vdr_menu.c
+++ b/vdr_menu.c
@@ -826,8 +826,8 @@ import() {
static const char *tld_arg[] = { ".", 0};
int res = chdir(the_setup.ToplevelDir);
if (res) {
- showmessage(2,tr("Cannot access directory %s:%d"),
- the_setup.ToplevelDir,errno);
+ showmessage(2,tr("Cannot change to directory %s: %m"),
+ the_setup.ToplevelDir);
return false;
}
s->Sync(tld_arg);