add pathnames.h
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 3 Apr 1989 03:09:25 +0000 (19:09 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 3 Apr 1989 03:09:25 +0000 (19:09 -0800)
SCCS-vsn: usr.sbin/arp/arp.c 5.9

usr/src/usr.sbin/arp/arp.c

index b90168c..274f33a 100644 (file)
@@ -25,7 +25,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)arp.c      5.8 (Berkeley) %G%";
+static char sccsid[] = "@(#)arp.c      5.9 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -49,6 +49,8 @@ static char sccsid[] = "@(#)arp.c     5.8 (Berkeley) %G%";
 #include <nlist.h>
 #include <stdio.h>
 
 #include <nlist.h>
 #include <stdio.h>
 
+#include "pathnames.h"
+
 extern int errno;
 static int kflag;
 
 extern int errno;
 static int kflag;
 
@@ -70,8 +72,8 @@ main(argc, argv)
                                mem = argv[3];
                        }
                        else
                                mem = argv[3];
                        }
                        else
-                               mem = "/dev/kmem";
-                       dump((argc >= 3) ? argv[2] : "/vmunix", mem);
+                               mem = _PATH_KMEM;
+                       dump((argc >= 3) ? argv[2] : _PATH_VMUNIX, mem);
                        exit(0);
                }
                case 'd':
                        exit(0);
                }
                case 'd':