diff mbox series

[1/2] Fix incorrect print type for size

Message ID CAJcrxCiCWj4kfDWs6KADxUzBs7ChJu=dYa7c_FX58ykjLD07wg@mail.gmail.com
State Accepted
Headers show
Series [1/2] Fix incorrect print type for size | expand

Commit Message

Roman Kalashnikov Oct. 20, 2017, 8:47 p.m. UTC
From: Roman Kalashnikov <lunix0x@gmail.com>

Signed-off-by: Roman Kalashnikov <lunix0x@gmail.com>
---
 corelib/stream_interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

                                 (skip == SKIP_FILE ? "Not required:
skipping" : "required"));

Comments

Stefano Babic Oct. 20, 2017, 9:03 p.m. UTC | #1
Hi Roman,

On 20/10/2017 22:47, Roman Kalashnikov wrote:
> From: Roman Kalashnikov <lunix0x@gmail.com <mailto:lunix0x@gmail.com>>

> 

> Signed-off-by: Roman Kalashnikov <lunix0x@gmail.com

> <mailto:lunix0x@gmail.com>>

> ---

>  corelib/stream_interface.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/corelib/stream_interface.c b/corelib/stream_interface.c

> index a78ed8f..f0e1f3b 100644

> --- a/corelib/stream_interface.c

> +++ b/corelib/stream_interface.c

> @@ -200,7 +200,7 @@ static int extract_files(int fd, struct swupdate_cfg

> *software)

>                                                          get_tmpdirscripts(),

>                                                          &img);

>                          }

> - TRACE("Found file:\n\tfilename %s\n\tsize %d %s",

> + TRACE("Found file:\n\tfilename %s\n\tsize %u %s",

>                                  fdh.filename,

>                                  (unsigned int)fdh.size,

>                                  (skip == SKIP_FILE ? "Not required:

> skipping" : "required"));

> 


Acked-by: Stefano Babic <sbabic@denx.de>


Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
Stefano Babic Oct. 30, 2017, 12:27 p.m. UTC | #2
On 20/10/2017 22:47, Roman Kalashnikov wrote:
> From: Roman Kalashnikov <lunix0x@gmail.com <mailto:lunix0x@gmail.com>>
> 
> Signed-off-by: Roman Kalashnikov <lunix0x@gmail.com
> <mailto:lunix0x@gmail.com>>
> ---

Applied to -master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/corelib/stream_interface.c b/corelib/stream_interface.c
index a78ed8f..f0e1f3b 100644
--- a/corelib/stream_interface.c
+++ b/corelib/stream_interface.c
@@ -200,7 +200,7 @@  static int extract_files(int fd, struct swupdate_cfg
*software)
                                                         get_tmpdirscripts(),
                                                         &img);
                         }
- TRACE("Found file:\n\tfilename %s\n\tsize %d %s",
+ TRACE("Found file:\n\tfilename %s\n\tsize %u %s",
                                 fdh.filename,
                                 (unsigned int)fdh.size,