krishnanadh / rpms / rasdaemon

Forked from rpms/rasdaemon a year ago
Clone
Michel Lind ff5aac
From bcffec13f53796fe150f6464540d5e324ea6977d Mon Sep 17 00:00:00 2001
Michel Lind ff5aac
From: Krishna Dhulipala <krishnad@meta.com>
Michel Lind ff5aac
Date: Mon, 25 Sep 2023 19:36:05 -0700
Michel Lind ff5aac
Subject: [PATCH] Fix typo in comment
Michel Lind ff5aac
Michel Lind ff5aac
---
Michel Lind ff5aac
 unified-sel.c | 4 ++--
Michel Lind ff5aac
 1 file changed, 2 insertions(+), 2 deletions(-)
Michel Lind ff5aac
Michel Lind ff5aac
diff --git a/unified-sel.c b/unified-sel.c
Michel Lind ff5aac
index 4398da1..2fcdcc0 100644
Michel Lind ff5aac
--- a/unified-sel.c
Michel Lind ff5aac
+++ b/unified-sel.c
Michel Lind ff5aac
@@ -99,8 +99,8 @@ int openbmc_unified_sel_log(uint64_t severity, const char *dev_name, uint64_t st
Michel Lind ff5aac
   sscanf(dev_name, "%*x:%x:%x.%x", &bus, &dev, &fn);
Michel Lind ff5aac
   dev_fn = (((dev & 0x1f) << 3) | (fn & 0x7));
Michel Lind ff5aac
 
Michel Lind ff5aac
-  /* Use the appropriate correctable or uncorrectable error status ID
Michel Lind ff5aac
-   * for a gien severity level
Michel Lind ff5aac
+  /* Use the appropriate correctable error status ID
Michel Lind ff5aac
+   * for a given severity level
Michel Lind ff5aac
    */
Michel Lind ff5aac
   if (severity == HW_EVENT_AER_CORRECTED) {
Michel Lind ff5aac
       if (verify_id_log_sel(status, cor_error_ids, bus, dev_fn) < 0)