From be2c9b5b7be9f0d077fe986dbb94f32fdd132e05 Mon Sep 17 00:00:00 2001 From: Steve Gilbert Date: Wed, 5 Feb 2025 17:49:50 -0500 Subject: [PATCH] Format correction --- src/smart.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/smart.c b/src/smart.c index a1a0ed12c..ac2b111cf 100644 --- a/src/smart.c +++ b/src/smart.c @@ -151,7 +151,8 @@ static int create_ignorelist_by_serial(ignorelist_t *il) { name++; if (ignorelist_match(ignorelist, name) == 0) { - // Allow ignored devices with no serial to carry over to serial ignore list + // Allow ignored devices with no serial to carry over to serial ignore + // list if (!serial) serial = name; ignorelist_add(ignorelist_by_serial, serial); -- 2.39.5