summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/mkvol_basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ubi-tests/mkvol_basic.c')
-rw-r--r--tests/ubi-tests/mkvol_basic.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ubi-tests/mkvol_basic.c b/tests/ubi-tests/mkvol_basic.c
index 880c149..3381ac4 100644
--- a/tests/ubi-tests/mkvol_basic.c
+++ b/tests/ubi-tests/mkvol_basic.c
@@ -61,7 +61,7 @@ static int mkvol_alignment(void)
if (ubi_mkvol(libubi, node, &req)) {
failed("ubi_mkvol");
- err_msg("alignment %d", req.alignment);
+ errmsg("alignment %d", req.alignment);
return -1;
}
@@ -139,7 +139,7 @@ static int mkvol_basic(void)
/* Make sure volume does not exist */
ret = ubi_get_vol_info1(libubi, dev_info.dev_num, vol_id, &vol_info);
if (ret == 0) {
- err_msg("removed volume %d exists", vol_id);
+ errmsg("removed volume %d exists", vol_id);
goto remove;
}
@@ -179,12 +179,12 @@ static int mkvol_multiple(void)
break;
}
failed("ubi_mkvol");
- err_msg("vol_id %d", i);
+ errmsg("vol_id %d", i);
goto remove;
}
if (check_volume(req.vol_id, &req)) {
- err_msg("vol_id %d", i);
+ errmsg("vol_id %d", i);
goto remove;
}
}
@@ -200,7 +200,7 @@ static int mkvol_multiple(void)
/* Make sure volume does not exist */
ret = ubi_get_vol_info1(libubi, dev_info.dev_num, i, &vol_info);
if (ret == 0) {
- err_msg("removed volume %d exists", i);
+ errmsg("removed volume %d exists", i);
goto remove;
}
}