summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sade/termcap.c')
-rw-r--r--usr.sbin/sade/termcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/termcap.c b/usr.sbin/sade/termcap.c
index 0f740a6..820d28d 100644
--- a/usr.sbin/sade/termcap.c
+++ b/usr.sbin/sade/termcap.c
@@ -30,7 +30,7 @@ prompt_term(char **termp)
printf("\nPlease set your TERM variable before running this program.\n");
printf("Defaulting to an ANSI compatible terminal - please press RETURN\n");
- fgets(str, 80, stdin); /* Just to make it interactive */
+ fgets(str, sizeof(str), stdin); /* Just to make it interactive */
*termp = (char *)"ansi";
}
OpenPOWER on IntegriCloud