summaryrefslogtreecommitdiff
path: root/games/tetris/tetris.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/tetris/tetris.c')
-rw-r--r--games/tetris/tetris.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/tetris/tetris.c b/games/tetris/tetris.c
index 90ce7d0f838..73ceaae708b 100644
--- a/games/tetris/tetris.c
+++ b/games/tetris/tetris.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tetris.c,v 1.29 2016/01/07 16:00:33 tb Exp $ */
+/* $OpenBSD: tetris.c,v 1.30 2016/03/07 12:07:57 mestre Exp $ */
/* $NetBSD: tetris.c,v 1.2 1995/04/22 07:42:47 cgd Exp $ */
/*-
@@ -356,6 +356,7 @@ onintr(int signo)
void
usage(void)
{
- (void)fprintf(stderr, "usage: tetris [-cps] [-k keys] [-l level]\n");
+ (void)fprintf(stderr, "usage: %s [-cps] [-k keys] "
+ "[-l level]\n", getprogname());
exit(1);
}