mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] commands: ubiupdatevol: store return value of read() in a signed int
@ 2016-09-05 19:36 Ulrich Ölmann
  2016-09-05 19:36 ` [PATCH 2/2] commands: ubiupdatevol: confirm success with return value 0 Ulrich Ölmann
  2016-09-06 14:21 ` [PATCH 1/2] commands: ubiupdatevol: store return value of read() in a signed int Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ulrich Ölmann @ 2016-09-05 19:36 UTC (permalink / raw)
  To: Barebox List

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
 commands/ubi.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/commands/ubi.c b/commands/ubi.c
index 65d2d256a830..dd981f95ea5d 100644
--- a/commands/ubi.c
+++ b/commands/ubi.c
@@ -14,10 +14,9 @@
 
 static int do_ubiupdatevol(int argc, char *argv[])
 {
-	int fd_img, fd_vol, ret = 0;
+	int count, fd_img, fd_vol, ret = 0;
 	uint64_t size = 0;
 	struct stat st;
-	unsigned int count;
 	void *buf;
 
 	if (argc - optind < 2)
-- 
2.8.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-06 14:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-05 19:36 [PATCH 1/2] commands: ubiupdatevol: store return value of read() in a signed int Ulrich Ölmann
2016-09-05 19:36 ` [PATCH 2/2] commands: ubiupdatevol: confirm success with return value 0 Ulrich Ölmann
2016-09-06 14:21 ` [PATCH 1/2] commands: ubiupdatevol: store return value of read() in a signed int Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox