Make sure all output appears when exiting
This commit is contained in:
parent
67250dfc74
commit
9f9abbf368
3 changed files with 8 additions and 2 deletions
|
|
@ -145,9 +145,9 @@ char **envp;
|
|||
dnum = lowtime + md_getpid();
|
||||
|
||||
if (wizard || env)
|
||||
printf("Hello %s, welcome to dungeon #%d", whoami, dnum);
|
||||
printf("Hello %s, welcome to dungeon #%d\n", whoami, dnum);
|
||||
else
|
||||
printf("Hello %s, just a moment while I dig the dungeon...", whoami);
|
||||
printf("Hello %s, just a moment while I dig the dungeon...\n", whoami);
|
||||
|
||||
fflush(stdout);
|
||||
seed = dnum;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue