Browse files

nbd: fix non-Linux build failure

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information...
1 parent 27cdad6 commit 8e72506e20d9e606783de1cdb8d60dd9b9241e30 @bonzini bonzini committed with Kevin Wolf Sep 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 nbd.c
View
2 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;

0 comments on commit 8e72506

Please sign in to comment.