Index: /trunk/glueforge/templates/psdb/popfits.tt
===================================================================
--- /trunk/glueforge/templates/psdb/popfits.tt	(revision 8658)
+++ /trunk/glueforge/templates/psdb/popfits.tt	(revision 8659)
@@ -12,5 +12,5 @@
                 "DELETE FROM %s ORDER BY %s DESC LIMIT %lld",
                 [% table.namespace FILTER upper %]_TABLE_NAME, [% table.namespace FILTER upper %]_INDEX_NAME, limit) < 0) {
-        psError(PS_ERR_UNKNOWN, true, "query value attempted to exceed %s bytes", MAX_STRING_LENGTH);
+        psError(PS_ERR_UNKNOWN, true, "query value attempted to exceed %d bytes", MAX_STRING_LENGTH);
         return false;
     }
