summaryrefslogtreecommitdiffstats
path: root/games/canfield/cfscores/cfscores.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-30 19:10:49 +0000
committerbde <bde@FreeBSD.org>1998-06-30 19:10:49 +0000
commitcb8e733b14ce95ee791c5c30bdb635007d017c0b (patch)
tree2c07092c2d007b08c3c062b3f7ae9313d6492089 /games/canfield/cfscores/cfscores.c
parentde8d2e85734bb002261ea6c0336fa6a4efa6e2f5 (diff)
downloadFreeBSD-src-cb8e733b14ce95ee791c5c30bdb635007d017c0b.zip
FreeBSD-src-cb8e733b14ce95ee791c5c30bdb635007d017c0b.tar.gz
Fixed printf format errors.
Diffstat (limited to 'games/canfield/cfscores/cfscores.c')
-rw-r--r--games/canfield/cfscores/cfscores.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/games/canfield/cfscores/cfscores.c b/games/canfield/cfscores/cfscores.c
index f476c11..fb7a090 100644
--- a/games/canfield/cfscores/cfscores.c
+++ b/games/canfield/cfscores/cfscores.c
@@ -136,14 +136,14 @@ printuser(pw, printfail)
printf("* Losses for %-10s*\n", pw->pw_name);
printf("*======================*\n");
printf("|Costs Total |\n");
- printf("| Hands %8d |\n", total.hand);
- printf("| Inspections %8d |\n", total.inspection);
- printf("| Games %8d |\n", total.game);
- printf("| Runs %8d |\n", total.runs);
- printf("| Information %8d |\n", total.information);
- printf("| Think time %8d |\n", total.thinktime);
- printf("|Total Costs %8d |\n", total.wins - total.worth);
- printf("|Winnings %8d |\n", total.wins);
- printf("|Net Worth %8d |\n", total.worth);
+ printf("| Hands %8ld |\n", total.hand);
+ printf("| Inspections %8ld |\n", total.inspection);
+ printf("| Games %8ld |\n", total.game);
+ printf("| Runs %8ld |\n", total.runs);
+ printf("| Information %8ld |\n", total.information);
+ printf("| Think time %8ld |\n", total.thinktime);
+ printf("|Total Costs %8ld |\n", total.wins - total.worth);
+ printf("|Winnings %8ld |\n", total.wins);
+ printf("|Net Worth %8ld |\n", total.worth);
printf("*----------------------*\n\n");
}
OpenPOWER on IntegriCloud