From: Steve Gilbert Date: Wed, 5 Feb 2025 22:49:50 +0000 (-0500) Subject: Format correction X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be2c9b5b7be9f0d077fe986dbb94f32fdd132e05;p=thirdparty%2Fcollectd.git Format correction --- 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);