From 354674e2be6f51feefbfec75ae175d7a260dbbcb Mon Sep 17 00:00:00 2001
From: Cristy <urban-warrior@imagemagick.org>
Date: Tue, 26 Dec 2017 20:08:07 -0500
Subject: [PATCH] ...

---
 MagickCore/pixel.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/MagickCore/pixel.c b/MagickCore/pixel.c
index d1f4979ff..ada5d38a7 100644
--- a/MagickCore/pixel.c
+++ b/MagickCore/pixel.c
@@ -6200,7 +6200,8 @@ static void LogPixelChannels(const Image *image)
         name="red";
         if (image->colorspace == CMYKColorspace)
           name="cyan";
-        if (image->colorspace == GRAYColorspace)
+        if ((image->colorspace == LinearGRAYColorspace) ||
+            (image->colorspace == GRAYColorspace))
           name="gray";
         break;
       }
-- 
2.40.0