ui/devcmd.c: fix path in error text

This commit is contained in:
zcsahok 2016-04-19 18:45:03 +02:00
parent 045c299b31
commit 0513b770de
1 changed files with 1 additions and 1 deletions

View File

@ -646,7 +646,7 @@ static int do_cmd_prog(char **arg, int prog_flags)
in = fopen(path, "rb"); in = fopen(path, "rb");
free(path); free(path);
if (!in) { if (!in) {
printc_err("prog: %s: %s\n", *arg, last_error()); printc_err("prog: %s: %s\n", path, last_error());
return -1; return -1;
} }