From 47812a77cf2d0eaab9daf066ef86c5b4fc0f9347 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Mon, 18 Jun 2007 16:35:23 +0300 Subject: UBI: fix tests This patch fixes UBI tests and adds udev problems solution description. Signed-off-by: Artem Bityutskiy --- ubi-utils/tests/rsvol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ubi-utils/tests/rsvol.c') 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; } -- cgit v1.2.3