diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-06-14 10:03:34 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-06-14 10:03:34 +0300 |
commit | 6bbe5558adeead2970b5090782466e87f8801f53 (patch) | |
tree | 59a6a55974eaf6bda83472255a9e5994544cec27 /tests/ubi-tests/mkvol_basic.c | |
parent | c7298da85e0e249ba237dcf158ec3e158e54fd40 (diff) |
ubi-tests: rename err_msg to errmsg
For consistency with ubi-utils.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/mkvol_basic.c')
-rw-r--r-- | tests/ubi-tests/mkvol_basic.c | 10 |
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; } } |