projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7616caf
)
splice flags are unsigned int, not unsigned long
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 8 Jun 2007 09:24:58 +0000
(11:24 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 8 Jun 2007 09:24:58 +0000
(11:24 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
os/os-linux.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os-linux.h
b/os/os-linux.h
index dfb6eb987d97b9ff3844dc0c2e684ccc8bb749bf..f4b6a22361bfa1b5d6f04ece4d6f53c882755f50 100644
(file)
--- a/
os/os-linux.h
+++ b/
os/os-linux.h
@@
-69,7
+69,7
@@
static inline int ioprio_set(int which, int who, int ioprio)
#define SPLICE_F_GIFT (0x08) /* pages passed in are a gift */
static inline int splice(int fdin, loff_t *off_in, int fdout, loff_t *off_out,
- size_t len, unsigned
long
flags)
+ size_t len, unsigned
int
flags)
{
return syscall(__NR_sys_splice, fdin, off_in, fdout, off_out, len, flags);
}