From 7d62de86324faece9420dd76ad7671658970ae96 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 25 Oct 2017 19:47:08 +1030 Subject: [PATCH] lightningd: fix typo in fatal error. Signed-off-by: Rusty Russell --- lightningd/hsm_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/hsm_control.c b/lightningd/hsm_control.c index 88b585d13..99b50eab9 100644 --- a/lightningd/hsm_control.c +++ b/lightningd/hsm_control.c @@ -19,7 +19,7 @@ u8 *hsm_sync_read(const tal_t *ctx, struct lightningd *ld) for (;;) { u8 *msg = wire_sync_read(ctx, ld->hsm_fd); if (!msg) - fatal("Could not write from HSM: %s", strerror(errno)); + fatal("Could not read from HSM: %s", strerror(errno)); if (fromwire_peektype(msg) != STATUS_TRACE) return msg;