[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] ubi_tools: fix typo in strcpy
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2013-08-04 19:08:12
Message-ID: CAK1hOcNA__UfiiRqnAXYnvjtPvD4Gbyr763sPH8L2RRQhZerkw () mail ! gmail ! com
[Download RAW message or body]

On Sun, Aug 4, 2013 at 5:08 AM, Paul B. Henson <henson@acm.org> wrote:
> Signed-off-by: Paul B. Henson <henson@acm.org>
> ---
>  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 d923f1c..b713935 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)
>                                 + 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) {

Applied, thanks!
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic