-/* $NetBSD: fish.c,v 1.6 1998/09/13 15:27:27 hubertf Exp $ */
+/* $NetBSD: fish.c,v 1.7 1999/04/24 22:09:06 kristerw Exp $ */
/*-
* Copyright (c) 1990, 1993
#if 0
static char sccsid[] = "@(#)fish.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: fish.c,v 1.6 1998/09/13 15:27:27 hubertf Exp $");
+__RCSID("$NetBSD: fish.c,v 1.7 1999/04/24 22:09:06 kristerw Exp $");
#endif
#endif /* not lint */
for (;;) {
(void)printf("You ask me for: ");
(void)fflush(stdout);
- if (fgets(buf, BUFSIZ, stdin) == NULL)
+ if (fgets(buf, sizeof(buf), stdin) == NULL)
exit(0);
if (buf[0] == '\0')
continue;