summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/rpc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/rpc-server.c b/p11-kit/rpc-server.c
index 5824157..071064f 100644
--- a/p11-kit/rpc-server.c
+++ b/p11-kit/rpc-server.c
@@ -1953,7 +1953,7 @@ p11_kit_remote_serve_module (CK_FUNCTION_LIST *module,
}
version = 0;
- switch (write (out_fd, &version, out_fd)) {
+ switch (write (out_fd, &version, 1)) {
case 1:
break;
default: