nbd: fix non-Linux build failure

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Paolo Bonzini 2011-09-21 09:34:12 +02:00 committed by Kevin Wolf
parent 27cdad67a1
commit 8e72506e20

2
nbd.c
View File

@ -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;