aboutsummaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-09-21 09:34:12 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-21 11:34:43 +0200
commit8e72506e20d9e606783de1cdb8d60dd9b9241e30 (patch)
treeb58bb0f8a2cfb4ac73cae63296006eb96ad68a93 /nbd.c
parent27cdad67a1bc23b38c765b677ed8064bfb8d3e44 (diff)
nbd: fix non-Linux build failure
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'nbd.c')
-rw-r--r--nbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbd.c b/nbd.c
index 595f4d8df3..fb5e424abe 100644
--- a/nbd.c
+++ b/nbd.c
@@ -439,7 +439,7 @@ int nbd_client(int fd)
return ret;
}
#else
-int nbd_init(int fd, int csock, off_t size, size_t blocksize)
+int nbd_init(int fd, int csock, uint32_t flags, off_t size, size_t blocksize)
{
errno = ENOTSUP;
return -1;