subshell.c: changed printf message into stserr to the vfs_print_message

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
This commit is contained in:
Ilia Maslakov 2011-04-27 10:53:40 +00:00 committed by Slava Zanko
parent 490af62655
commit 4267c04b69

View File

@ -1239,7 +1239,7 @@ do_subshell_chdir (const char *directory, gboolean update_prompt, gboolean reset
if (bPathNotEq && strcmp (pcwd, ".")) if (bPathNotEq && strcmp (pcwd, "."))
{ {
char *cwd = strip_password (g_strdup (pcwd), 1); char *cwd = strip_password (g_strdup (pcwd), 1);
fprintf (stderr, _("Warning: Cannot change to %s.\n"), cwd); vfs_print_message (_("Warning: Cannot change to %s.\n"), cwd);
g_free (cwd); g_free (cwd);
} }
} }