From e6c387a96f6c3cae91e5bf1a6f7e6574cbe03b80 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 17 Apr 2008 15:53:35 +0300 Subject: Teach libubi_open not to prirnt error message ... when it is expected that UBI is not necessarily present Signed-off-by: Artem Bityutskiy --- ubi-utils/new-utils/src/ubiattach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ubi-utils/new-utils/src/ubiattach.c') diff --git a/ubi-utils/new-utils/src/ubiattach.c b/ubi-utils/new-utils/src/ubiattach.c index b3d768a..04a2f9c 100644 --- a/ubi-utils/new-utils/src/ubiattach.c +++ b/ubi-utils/new-utils/src/ubiattach.c @@ -153,7 +153,7 @@ int main(int argc, char * const argv[]) if (err) return -1; - libubi = libubi_open(); + libubi = libubi_open(1); if (libubi == NULL) return sys_errmsg("cannot open libubi"); -- cgit v1.2.3