summaryrefslogtreecommitdiff
path: root/miscutils/ubi_attach_detach.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/ubi_attach_detach.c')
-rw-r--r--miscutils/ubi_attach_detach.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/ubi_attach_detach.c b/miscutils/ubi_attach_detach.c
index 15377aa..18ffd4d 100644
--- a/miscutils/ubi_attach_detach.c
+++ b/miscutils/ubi_attach_detach.c
@@ -63,9 +63,9 @@ int ubi_attach_detach_main(int argc UNUSED_PARAM, char **argv)
ubi_ctrl = argv[optind];
fd = xopen(ubi_ctrl, O_RDWR);
- //fstat(fd, &st);
+ //xfstat(fd, &st, ubi_ctrl);
//if (!S_ISCHR(st.st_mode))
- // bb_error_msg_and_die("'%s' is not a char device", ubi_ctrl);
+ // bb_error_msg_and_die("%s: not a char device", ubi_ctrl);
if (do_attach) {
if (!(opts & OPTION_M))