be more generous with buffer allocation
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Wed, 20 Oct 1982 07:09:56 +0000 (23:09 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Wed, 20 Oct 1982 07:09:56 +0000 (23:09 -0800)
SCCS-vsn: old/make/misc.c 4.2

usr/src/old/make/misc.c

index 601aaf6..04d1e69 100644 (file)
@@ -1,4 +1,4 @@
-static char *sccsid = "@(#)misc.c      4.1 (Berkeley) 81/02/28";
+static char *sccsid = "@(#)misc.c      4.2 (Berkeley) 82/10/19";
 #include "defs"
 
 FSTATIC struct nameblock *hashtab[HASHSIZE];
 #include "defs"
 
 FSTATIC struct nameblock *hashtab[HASHSIZE];
@@ -251,7 +251,7 @@ return(vp);
 fatal1(s, t)
 char *s, *t;
 {
 fatal1(s, t)
 char *s, *t;
 {
-char buf[100];
+char buf[BUFSIZ];
 sprintf(buf, s, t);
 fatal(buf);
 }
 sprintf(buf, s, t);
 fatal(buf);
 }