summaryrefslogtreecommitdiff
path: root/ubi-utils/tests/rsvol.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/tests/rsvol.c')
-rw-r--r--ubi-utils/tests/rsvol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/tests/rsvol.c b/ubi-utils/tests/rsvol.c
index 51fa069..7a9e5ea 100644
--- a/ubi-utils/tests/rsvol.c
+++ b/ubi-utils/tests/rsvol.c
@@ -243,7 +243,7 @@ static int test_rsvol1(struct ubi_vol_info *vol_info)
fd = open(vol_node, O_RDWR);
if (fd == -1) {
failed("open");
- err_msg("cannot open \"%s\"\n", node);
+ err_msg("cannot open \"%s\"\n", vol_node);
return -1;
}
@@ -278,7 +278,7 @@ static int test_rsvol1(struct ubi_vol_info *vol_info)
fd = open(vol_node, O_RDWR);
if (fd == -1) {
failed("open");
- err_msg("cannot open \"%s\"\n", node);
+ err_msg("cannot open \"%s\"\n", vol_node);
return -1;
}