Index: trunk/Ohana/src/imregister/imreg/iminfo.c
===================================================================
--- trunk/Ohana/src/imregister/imreg/iminfo.c	(revision 27590)
+++ trunk/Ohana/src/imregister/imreg/iminfo.c	(revision 42389)
@@ -91,11 +91,9 @@
   /* force strings to fit in available space (32 bytes) */
   gfits_scan (&header, CameraKeyword,     "%s", 1, line);
-  strncpy (image[0].instrument, line, 31);
-  image[0].instrument[31] = 0;
+  strncpy_nowarn (image[0].instrument, line, 31);
 
   gfits_scan (&header, FilterKeyword, "%s", 1, line);
   MatchFilterList (line);
-  strncpy (image[0].filter, line, 31);
-  image[0].filter[31] = 0;
+  strncpy_nowarn (image[0].filter, line, 31);
 
   /* header has RA & DEC in decimal degrees */
