projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da331d7
)
ubi_tools: fix typo in strcpy
author
Paul B. Henson
<henson@acm.org>
Sun, 4 Aug 2013 19:07:20 +0000
(21:07 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 4 Aug 2013 19:07:20 +0000
(21:07 +0200)
Signed-off-by: Paul B. Henson <henson@acm.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/ubi_tools.c
patch
|
blob
|
history
diff --git
a/miscutils/ubi_tools.c
b/miscutils/ubi_tools.c
index d923f1c5a885838af4b93f4d5f688fa904451786..b7139353269e186978ed4f25154088a714458187 100644
(file)
--- a/
miscutils/ubi_tools.c
+++ b/
miscutils/ubi_tools.c
@@
-122,7
+122,7
@@
int ubi_tools_main(int argc UNUSED_PARAM, char **argv)
+ 2 * sizeof(int)*3 + /*just in case:*/ 16];
#define path_sys_class_ubi_ubi (path + sizeof("/sys/class/ubi/ubi")-1)
- strcpy(path
_sys_class_ubi_ubi
, "/sys/class/ubi/ubi");
+ strcpy(path, "/sys/class/ubi/ubi");
memset(&req_structs, 0, sizeof(req_structs));
if (do_mkvol) {