Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH 1/7] Fix trivial calloc argument order
@ 2017-01-03 14:40 kusumi.tomohiro
  2017-01-03 14:40 ` [PATCH 2/7] Add missing trailing \n in log_err/info() kusumi.tomohiro
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: kusumi.tomohiro @ 2017-01-03 14:40 UTC (permalink / raw)
  To: axboe, fio; +Cc: Tomohiro Kusumi

From: Tomohiro Kusumi <tkusumi@tuxera.com>

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
---
 engines/sg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/engines/sg.c b/engines/sg.c
index c1fe602..001193d 100644
--- a/engines/sg.c
+++ b/engines/sg.c
@@ -579,7 +579,7 @@ static char *fio_sgio_errdetails(struct io_u *io_u)
 	char *msg, msgchunk[MAXMSGCHUNK], *ret = NULL;
 	int i;
 
-	msg = calloc(MAXERRDETAIL, 1);
+	msg = calloc(1, MAXERRDETAIL);
 
 	/*
 	 * can't seem to find sg_err.h, so I'll just echo the define values
-- 
2.5.5



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

end of thread, other threads:[~2017-01-03 17:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-03 14:40 [PATCH 1/7] Fix trivial calloc argument order kusumi.tomohiro
2017-01-03 14:40 ` [PATCH 2/7] Add missing trailing \n in log_err/info() kusumi.tomohiro
2017-01-03 14:40 ` [PATCH 3/7] Sync README with fio usage output kusumi.tomohiro
2017-01-03 14:40 ` [PATCH 4/7] Fix canonical name for runtime/timeout option kusumi.tomohiro
2017-01-03 14:40 ` [PATCH 5/7] Add BSD package/building info to README kusumi.tomohiro
2017-01-03 14:40 ` [PATCH 6/7] Fix README - change just type "configure" to "./configure" kusumi.tomohiro
2017-01-03 14:40 ` [PATCH 7/7] Add missing .help string for io_size option kusumi.tomohiro
2017-01-03 17:11 ` [PATCH 1/7] Fix trivial calloc argument order Jens Axboe

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