projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6b80f7
)
Fix the return type of log_err and log_info functions
author
Rebecca Cran
<rebecca@bluestop.org>
Tue, 7 Feb 2017 16:13:19 +0000
(09:13 -0700)
committer
Jens Axboe
<axboe@fb.com>
Mon, 13 Feb 2017 22:38:45 +0000
(15:38 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
t/log.c
patch
|
blob
|
blame
|
history
diff --git
a/t/log.c
b/t/log.c
index 1ed385190eb1df455689d0502f976dc456d720a8..929aac6c3204f17d20cc5e797fe39603861730e8 100644
(file)
--- a/
t/log.c
+++ b/
t/log.c
@@
-2,7
+2,7
@@
#include <stdarg.h>
#include "../minmax.h"
-
in
t log_err(const char *format, ...)
+
size_
t log_err(const char *format, ...)
{
char buffer[1024];
va_list args;
@@
-16,7
+16,7
@@
int log_err(const char *format, ...)
return fwrite(buffer, len, 1, stderr);
}
-
in
t log_info(const char *format, ...)
+
size_
t log_info(const char *format, ...)
{
char buffer[1024];
va_list args;