krishnanadh / rpms / rasdaemon

Forked from rpms/rasdaemon a year ago
Clone
Blob Blame History Raw
From bcffec13f53796fe150f6464540d5e324ea6977d Mon Sep 17 00:00:00 2001
From: Krishna Dhulipala <krishnad@meta.com>
Date: Mon, 25 Sep 2023 19:36:05 -0700
Subject: [PATCH] Fix typo in comment

---
 unified-sel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/unified-sel.c b/unified-sel.c
index 4398da1..2fcdcc0 100644
--- a/unified-sel.c
+++ b/unified-sel.c
@@ -99,8 +99,8 @@ int openbmc_unified_sel_log(uint64_t severity, const char *dev_name, uint64_t st
   sscanf(dev_name, "%*x:%x:%x.%x", &bus, &dev, &fn);
   dev_fn = (((dev & 0x1f) << 3) | (fn & 0x7));
 
-  /* Use the appropriate correctable or uncorrectable error status ID
-   * for a gien severity level
+  /* Use the appropriate correctable error status ID
+   * for a given severity level
    */
   if (severity == HW_EVENT_AER_CORRECTED) {
       if (verify_id_log_sel(status, cor_error_ids, bus, dev_fn) < 0)