diff --git a/MagickCore/xwindow.c b/MagickCore/xwindow.c
index 96528c0..ee23c3f 100644
--- a/MagickCore/xwindow.c
+++ b/MagickCore/xwindow.c
@@ -2046,7 +2046,7 @@
   /*
     Write info about the image to a file.
   */
-  (void) IdentifyImage(image,file,MagickTrue);
+  (void) IdentifyImage(image,file,MagickTrue,&image->exception);
   (void) fclose(file);
   text=FileToString(filename,~0,&image->exception);
   (void) RelinquishUniqueFileResource(filename);