projects
/
oweals
/
fstools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
split fs-state back into seperate tools
[oweals/fstools.git]
/
libubi
/
libubi.c
diff --git
a/libubi/libubi.c
b/libubi/libubi.c
index 3494f9dbdd558c94daea0924c1021db7d74513a1..d1f2a8b143c2bfa3e3955d5a7fe1d63a489c8b4d 100644
(file)
--- a/
libubi/libubi.c
+++ b/
libubi/libubi.c
@@
-861,7
+861,7
@@
int ubi_remove_dev(libubi_t desc, const char *node, int ubi_dev)
sys_errmsg("cannot open \"%s\"", node);
return -1;
}
- ret = ioctl(fd, UBI_IOCDET, &ubi_dev);
+ ret = ioctl(fd, UBI_IOC
F
DET, &ubi_dev);
if (ret == -1)
goto out_close;