aboutsummaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'nbd.c')
-rw-r--r--nbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nbd.c b/nbd.c
index 30dec8d2c5..011b50f166 100644
--- a/nbd.c
+++ b/nbd.c
@@ -487,7 +487,7 @@ int nbd_disconnect(int fd)
return 0;
}
-int nbd_client(int fd, int csock)
+int nbd_client(int fd)
{
int ret;
int serrno;
@@ -521,7 +521,7 @@ int nbd_disconnect(int fd)
return -1;
}
-int nbd_client(int fd, int csock)
+int nbd_client(int fd)
{
errno = ENOTSUP;
return -1;