more printf elimination

This commit is contained in:
Bill Currie 2001-10-18 16:49:40 +00:00
parent b3914eeaaa
commit 00bfc128a0
6 changed files with 7 additions and 7 deletions

View file

@ -508,7 +508,7 @@ ReconstructHostEnt (struct hostent *s, void *flattened)
s->h_length = FARPKS (&old->h_length);
if (FARPKS (&old->h_length) != sizeof (struct in_addr)) {
printf ("Error!\n");
Con_Printf ("Error!\n");
exit (0);
}

View file

@ -184,7 +184,7 @@ SDL_main (int c, char **v)
host_parms.membase = malloc (host_parms.memsize);
if (!host_parms.membase) {
printf ("Can't allocate memory for zone.\n");
Con_Printf ("Can't allocate memory for zone.\n");
return 1;
}

View file

@ -175,7 +175,7 @@ main (int c, const char *v[])
Sys_RegisterShutdown (Host_Shutdown);
Sys_RegisterShutdown (shutdown);
Sys_Printf ("Host_Init\n");
Con_Printf ("Host_Init\n");
Host_Init (&parms);
Sys_Init_Cvars ();
@ -183,7 +183,7 @@ main (int c, const char *v[])
if (!sys_nostdout->int_val) {
fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);
printf ("Quake -- Version %s\n", NQ_VERSION);
Con_Printf ("Quake -- Version %s\n", NQ_VERSION);
}
oldtime = Sys_DoubleTime () - 0.1;

View file

@ -154,7 +154,7 @@ main (int argc, const char **argv)
Sys_RegisterShutdown (Host_Shutdown);
Sys_RegisterShutdown (shutdown);
printf ("Host_Init\n");
Con_Printf ("Host_Init\n");
Host_Init (&parms);
Sys_Init_Cvars ();

View file

@ -181,7 +181,7 @@ SDL_main (int c, char **v)
host_parms.membase = malloc (host_parms.memsize);
if (!host_parms.membase) {
printf ("Can't allocate memory for zone.\n");
Con_Printf ("Can't allocate memory for zone.\n");
return 1;
}

View file

@ -175,7 +175,7 @@ main (int c, const char *v[])
host_parms.membase = malloc (host_parms.memsize);
if (!host_parms.membase) {
printf ("Can't allocate memory for zone.\n");
Con_Printf ("Can't allocate memory for zone.\n");
return 1;
}