summaryrefslogtreecommitdiff
path: root/sys/ddb/db_hangman.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ddb/db_hangman.c')
-rw-r--r--sys/ddb/db_hangman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_hangman.c b/sys/ddb/db_hangman.c
index 83a51b3fff5..9f008407e15 100644
--- a/sys/ddb/db_hangman.c
+++ b/sys/ddb/db_hangman.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_hangman.c,v 1.21 2002/06/11 07:54:22 jason Exp $ */
+/* $OpenBSD: db_hangman.c,v 1.22 2002/06/11 09:31:33 mdw Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt, Michael Shalayeff
@@ -170,7 +170,7 @@ db_hangon(void)
{
static size_t len;
static size_t tries;
- static char *word = NULL;
+ static char *word;
static char abc[26+1]; /* for '\0' */
if (word == NULL) {