summaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils/src/ubiupdatevol.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/new-utils/src/ubiupdatevol.c')
-rw-r--r--ubi-utils/new-utils/src/ubiupdatevol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/new-utils/src/ubiupdatevol.c b/ubi-utils/new-utils/src/ubiupdatevol.c
index 76d9f4e..5c67fc9 100644
--- a/ubi-utils/new-utils/src/ubiupdatevol.c
+++ b/ubi-utils/new-utils/src/ubiupdatevol.c
@@ -211,7 +211,7 @@ static int update_volume(libubi_t libubi, struct ubi_vol_info *vol_info)
err = stat(args.img, &st);
if (err < 0) {
- errmsg("stat failed on \"%s\"", args.node);
+ errmsg("stat failed on \"%s\"", args.img);
goto out_free;
}