fsx: Add a return type to aio_rw
PATCH 1/1 fsx: Add a return type to aio_rw
From: Khem Raj <[email protected]>
Compilers complain about the function prototype otherwise
Signed-off-by Khem Raj <[email protected]>
Signed-off-by Vyacheslav Yurkov <[email protected]>
Cc Darrick J. Wong <[email protected]>
Cc Zorro Lang <[email protected]>
--- ltp/fsx.c | 1 + 1 file changed, 1 insertion(+)
ltp/fsx.c +1 -0
@@ -2592,6 +2592,7 @@ out_error: return -1; }#else +int aio_rw (int rw,int fd,char *buf,unsigned len,unsigned offset) {fprintf (stderr,"io_rw: need AIO support!\n" );
Signature · 1 line
2.35.1
Quoted 8 lines · Vyacheslav Yurkov
From: Khem Raj <[email protected]>
Compilers complain about the function prototype otherwise
Signed-off-by Khem Raj <[email protected]>Signed-off-by Vyacheslav Yurkov <[email protected]>Cc Darrick J. Wong <[email protected]>Cc Zorro Lang <[email protected]>
Whoooops, good catch!
Reviewed-by Darrick J. Wong <[email protected]>
--D
Quoted 19 lines
--- ltp/fsx.c | 1 + 1 file changed, 1 insertion(+)ltp/fsx.c +1
-0@@ -2592,6 +2592,7 @@ out_error: return -1; }#else +int aio_rw (int rw,int fd,char *buf,unsigned len,unsigned offset) {fprintf (stderr,"io_rw: need AIO support!\n" );Signature · 1 line
2.35.1