get with the times (from cgd@vangogh)
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 7 Jan 1994 01:48:45 +0000 (17:48 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 7 Jan 1994 01:48:45 +0000 (17:48 -0800)
SCCS-vsn: sbin/dump/main.c 8.2

usr/src/sbin/dump/main.c

index 0f6081f..07347ec 100644 (file)
@@ -12,7 +12,7 @@ static char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)main.c     8.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c     8.2 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/param.h>
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -501,7 +501,7 @@ char *
 rawname(cp)
        char *cp;
 {
 rawname(cp)
        char *cp;
 {
-       static char rawbuf[32];
+       static char rawbuf[MAXPATHLEN];
        char *dp = rindex(cp, '/');
 
        if (dp == NULL)
        char *dp = rindex(cp, '/');
 
        if (dp == NULL)