Fix printf insufficient arguments.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1966 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-11-08 03:22:11 +00:00
parent fb515d9544
commit 29a803d76f
+4 -4
View File
@@ -60,7 +60,7 @@ OpenStateFile (int stateFile, const char* mode)
if (fp->open_count > 1)
fprintf (stderr, "WARNING: "
"State file %s open count is %d after open()\n",
fp->open_count);
fp->symname, fp->open_count);
if (!fp->data)
{
@@ -87,7 +87,7 @@ OpenStateFile (int stateFile, const char* mode)
{
fprintf (stderr, "WARNING: "
"State file %s opened with unsupported mode '%s'\n",
mode);
fp->symname, mode);
}
fp->ptr = 0;
@@ -102,7 +102,7 @@ CloseStateFile (GAME_STATE_FILE* fp)
if (fp->open_count < 0)
fprintf (stderr, "WARNING: "
"State file %s open count is %d after close()\n",
fp->open_count);
fp->symname, fp->open_count);
// Erm, Ok, it's closed! Honest!
}
@@ -118,7 +118,7 @@ DeleteStateFile (int stateFile)
if (fp->open_count != 0)
fprintf (stderr, "WARNING: "
"State file %s open count is %d during delete()\n",
fp->open_count);
fp->symname, fp->open_count);
fp->used = 0;
fp->ptr = 0;