Skip to content

Commit

Permalink
nbd: fix non-Linux build failure
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information
bonzini authored and kevmw committed Sep 21, 2011
1 parent 27cdad6 commit 8e72506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbd.c
Expand Up @@ -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;
Expand Down

0 comments on commit 8e72506

Please sign in to comment.