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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user