Index: trunk/Ohana/src/opihi/cmd.data/imspline_apply.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/imspline_apply.c	(revision 40545)
+++ trunk/Ohana/src/opihi/cmd.data/imspline_apply.c	(revision 40549)
@@ -47,7 +47,7 @@
   gfits_create_matrix (&out[0].header, &out[0].matrix);
   if ((y1[0].file[0] != '*') && (y1[0].file[0] != '(')) {
-    sprintf (out[0].file, "*%s", y1[0].file);
+    snprintf_nowarn (out[0].file, OPIHI_NAME_SIZE, "*%s", y1[0].file);
   } else {
-    sprintf (out[0].file, "%s", y1[0].file);
+    snprintf_nowarn (out[0].file, OPIHI_NAME_SIZE, "%s", y1[0].file);
   }
 
Index: trunk/Ohana/src/opihi/cmd.data/imspline_construct.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/imspline_construct.c	(revision 40545)
+++ trunk/Ohana/src/opihi/cmd.data/imspline_construct.c	(revision 40549)
@@ -19,7 +19,7 @@
   free (out[0].matrix.buffer);
   if ((in[0].file[0] != '*') && (in[0].file[0] != '(')) {
-    sprintf (out[0].file, "*%s", in[0].file);
+    snprintf_nowarn (out[0].file, OPIHI_NAME_SIZE, "*%s", in[0].file);
   } else {
-    sprintf (out[0].file, "%s", in[0].file);
+    snprintf_nowarn (out[0].file, OPIHI_NAME_SIZE, "%s", in[0].file);
   }
   out[0].bitpix = in[0].bitpix;
