g_return_if_fail(!errp || !*errp);
- sourcefile=cmd_argv[0];
+ sourcefile=cmdline_path_from_cwd(cmd_argv[0]);
if (cmd_argv[1])
- targetfile=captive_strdup_alloca(cmd_argv[1]);
+ targetfile=captive_strdup_alloca(cmdline_path_from_cwd(cmd_argv[1]));
else {
char *s;
GNOME_VFS_OPEN_READ))) { /* mode */
err_cleanup(errp);
g_set_error(errp,CMDLINE_CMD_GET_ERROR,CMDLINE_CMD_GET_ERROR_OPENING_SOURCE_FILE,
- _("Error opening source host-os file '%s': %s"),sourcefile,g_strerror(errno));
+ _("Error opening source guest-os file '%s': %s"),sourcefile,g_strerror(errno));
goto err_close_fdtgt;
}