mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
more printf elimination
This commit is contained in:
parent
b3914eeaaa
commit
00bfc128a0
6 changed files with 7 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 ();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue