From 9f4389f372576c377a070e18ca402482de9cdf21 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 18 May 2016 22:52:22 -0400 Subject: Impressive how hard it can be to diagnose getting everything but the RPC opcode right. --- rpc_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc_client.c b/rpc_client.c index 3a84305..4a919a3 100644 --- a/rpc_client.c +++ b/rpc_client.c @@ -522,7 +522,7 @@ static hal_error_t pkey_remote_rename(const hal_pkey_handle_t pkey, size_t ilen = sizeof(inbuf); hal_error_t rpc_ret; - check(hal_xdr_encode_int(&optr, olimit, RPC_FUNC_PKEY_DELETE)); + check(hal_xdr_encode_int(&optr, olimit, RPC_FUNC_PKEY_RENAME)); check(hal_xdr_encode_int(&optr, olimit, pkey.handle)); check(hal_xdr_encode_buffer(&optr, olimit, name, name_len)); check(hal_rpc_send(outbuf, optr - outbuf)); -- cgit v1.2.3