mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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:
parent
27cdad67a1
commit
8e72506e20
1 changed files with 1 additions and 1 deletions
2
nbd.c
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue