[Skiboot] [PATCH] surv: Fix "hearbeat" typo

Anton Blanchard anton at samba.org
Tue Apr 28 17:29:20 AEST 2015


I get thousands of these in my OPAL message log so they may as well be
spelled correctly.

While here, make the other messages consistent by changing hbeat
to heartbeat.

Signed-off-by: Anton Blanchard <anton at samba.org>
---

diff --git a/hw/fsp/fsp-surveillance.c b/hw/fsp/fsp-surveillance.c
index 138ff3f..b94eb1b 100644
--- a/hw/fsp/fsp-surveillance.c
+++ b/hw/fsp/fsp-surveillance.c
@@ -112,15 +112,15 @@ static void fsp_surv_hbeat(void)
 	    (tb_compare(now, surv_timer) == TB_AAFTERB) ||
 	    (tb_compare(now, surv_timer) == TB_AEQUALB)) {
 		prlog(PR_DEBUG,
-		      "SURV: Sending the hearbeat command to FSP\n");
+		      "SURV: Sending the heartbeat command to FSP\n");
 		msg = fsp_mkmsg(FSP_CMD_SURV_HBEAT, 1, 120);
 		if (!msg) {
-			prerror("SURV: Failed to allocate hbeat msg\n");
+			prerror("SURV: Failed to allocate heartbeat msg\n");
 			return;
 		}
 		if (fsp_queue_msg(msg, fsp_surv_ack)) {
 			fsp_freemsg(msg);
-			prerror("SURV: Failed to queue hbeat msg\n");
+			prerror("SURV: Failed to queue heartbeat msg\n");
 		} else {
 			fsp_surv_ack_pending = true;
 			surv_timer = now + secs_to_tb(60);


More information about the Skiboot mailing list