Make 'line' writable (and save 4 bytes).
authorDonn Seeley <donn@ucbvax.Berkeley.EDU>
Wed, 6 Mar 1991 06:38:58 +0000 (22:38 -0800)
committerDonn Seeley <donn@ucbvax.Berkeley.EDU>
Wed, 6 Mar 1991 06:38:58 +0000 (22:38 -0800)
SCCS-vsn: usr.bin/script/script.c 5.13

usr/src/usr.bin/script/script.c

index f62956d..971aaec 100644 (file)
@@ -12,7 +12,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)script.c   5.12 (Berkeley) %G%";
+static char sccsid[] = "@(#)script.c   5.13 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -40,7 +40,7 @@ struct        termios tt;
 struct winsize win;
 int    lb;
 int    l;
 struct winsize win;
 int    lb;
 int    l;
-char   *line = "/dev/ptyXX";
+char   line[] = "/dev/ptyXX";
 int    aflg;
 
 main(argc, argv)
 int    aflg;
 
 main(argc, argv)