summaryrefslogtreecommitdiffstats
path: root/larn
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2004-02-13 11:36:08 +0000
committerwiz <wiz@NetBSD.org>2004-02-13 11:36:08 +0000
commit66ce4321386231410ee4e245e9ff94b8b759e402 (patch)
treee9b4f59b48f07b30f806374c682e3b733027ab45 /larn
parentc2e7c14e410d9bd243d8b9757739bd42cd95c83e (diff)
downloadbsdgames-darwin-66ce4321386231410ee4e245e9ff94b8b759e402.tar.gz
bsdgames-darwin-66ce4321386231410ee4e245e9ff94b8b759e402.tar.zst
bsdgames-darwin-66ce4321386231410ee4e245e9ff94b8b759e402.zip
Uppercase CPU, plural is CPUs.
Diffstat (limited to 'larn')
-rw-r--r--larn/scores.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/larn/scores.c b/larn/scores.c
index e9082a95..71d399e1 100644
--- a/larn/scores.c
+++ b/larn/scores.c
@@ -1,4 +1,4 @@
-/* $NetBSD: scores.c,v 1.11 2001/02/05 00:57:34 christos Exp $ */
+/* $NetBSD: scores.c,v 1.12 2004/02/13 11:36:08 wiz Exp $ */
/*
* scores.c Larn is copyrighted 1986 by Noah Morgan.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: scores.c,v 1.11 2001/02/05 00:57:34 christos Exp $");
+__RCSID("$NetBSD: scores.c,v 1.12 2004/02/13 11:36:08 wiz Exp $");
#endif /* not lint */
#include <sys/types.h>
#include <sys/times.h>
@@ -74,9 +74,9 @@ struct log_fmt { /* 102 bytes struct for the log file */
long moves; /* number of moves made by player */
short ac; /* armor class of player */
short hp, hpmax; /* players hitpoints */
- short cputime;/* cpu time needed in seconds */
+ short cputime;/* CPU time needed in seconds */
short killed, spused; /* monsters killed and spells cast */
- short usage; /* usage of the cpu in % */
+ short usage; /* usage of the CPU in % */
short lev; /* player level */
#endif
char who[12];/* player name */
@@ -674,10 +674,10 @@ invalid:
snprintf(logg.what, sizeof(logg.what),
"%s", whydead[x - 256]);
logg.cavelev = level;
- time(&zzz); /* get cpu time -- write out score info */
+ time(&zzz); /* get CPU time -- write out score info */
logg.diedtime = zzz;
#ifdef EXTRA
- times(&cputime);/* get cpu time -- write out score info */
+ times(&cputime);/* get CPU time -- write out score info */
logg.cputime = i = (cputime.tms_utime + cputime.tms_stime) / 60 + c[CPUTIME];
logg.lev = c[LEVEL];
logg.ac = c[AC];