diff options
author | Paul B. Henson <henson@acm.org> | 2013-08-04 21:07:20 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-08-04 21:07:20 +0200 |
commit | 985345d0029a55c47068df4f28a3108df301cca8 (patch) | |
tree | cf83b7c80e38de6bc36b52b9267431d844e03a98 | |
parent | da331d779c19d7d5d4ef05152ee467d617913a01 (diff) | |
download | busybox-w32-985345d0029a55c47068df4f28a3108df301cca8.tar.gz busybox-w32-985345d0029a55c47068df4f28a3108df301cca8.tar.bz2 busybox-w32-985345d0029a55c47068df4f28a3108df301cca8.zip |
ubi_tools: fix typo in strcpy
Signed-off-by: Paul B. Henson <henson@acm.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | miscutils/ubi_tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/ubi_tools.c b/miscutils/ubi_tools.c index d923f1c5a..b71393532 100644 --- a/miscutils/ubi_tools.c +++ b/miscutils/ubi_tools.c | |||
@@ -122,7 +122,7 @@ int ubi_tools_main(int argc UNUSED_PARAM, char **argv) | |||
122 | + 2 * sizeof(int)*3 + /*just in case:*/ 16]; | 122 | + 2 * sizeof(int)*3 + /*just in case:*/ 16]; |
123 | #define path_sys_class_ubi_ubi (path + sizeof("/sys/class/ubi/ubi")-1) | 123 | #define path_sys_class_ubi_ubi (path + sizeof("/sys/class/ubi/ubi")-1) |
124 | 124 | ||
125 | strcpy(path_sys_class_ubi_ubi, "/sys/class/ubi/ubi"); | 125 | strcpy(path, "/sys/class/ubi/ubi"); |
126 | memset(&req_structs, 0, sizeof(req_structs)); | 126 | memset(&req_structs, 0, sizeof(req_structs)); |
127 | 127 | ||
128 | if (do_mkvol) { | 128 | if (do_mkvol) { |