aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils/src/ubidetach.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-04-17 15:53:35 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-04-17 15:53:35 +0300
commite6c387a96f6c3cae91e5bf1a6f7e6574cbe03b80 (patch)
treeef8c4f2e88c740ef1d597d54f33199c5ae2550e1 /ubi-utils/new-utils/src/ubidetach.c
parentbcc87aa2d908389534394caa8659fd613817584f (diff)
Teach libubi_open not to prirnt error message
... when it is expected that UBI is not necessarily present Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/new-utils/src/ubidetach.c')
-rw-r--r--ubi-utils/new-utils/src/ubidetach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/new-utils/src/ubidetach.c b/ubi-utils/new-utils/src/ubidetach.c
index cd48368..50670d0 100644
--- a/ubi-utils/new-utils/src/ubidetach.c
+++ b/ubi-utils/new-utils/src/ubidetach.c
@@ -139,7 +139,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");