summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkstailey <kstailey@openbsd.org>1997-06-25 18:34:30 +0000
committerkstailey <kstailey@openbsd.org>1997-06-25 18:34:30 +0000
commit99992fcc917677785f4384fdacda207cf5a3c839 (patch)
tree23b7eff0ea9aab49a9ca7608b242dd04c5090988
parent(foo *)0 -> NULL (diff)
downloadwireguard-openbsd-99992fcc917677785f4384fdacda207cf5a3c839.tar.xz
wireguard-openbsd-99992fcc917677785f4384fdacda207cf5a3c839.zip
(foo *)0 -> NULL
-rw-r--r--sbin/restore/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/restore/main.c b/sbin/restore/main.c
index 2963bac8a7c..edc60dcfdf7 100644
--- a/sbin/restore/main.c
+++ b/sbin/restore/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.7 1997/04/16 04:07:37 millert Exp $ */
+/* $OpenBSD: main.c,v 1.8 1997/06/25 18:34:30 kstailey Exp $ */
/* $NetBSD: main.c,v 1.11 1996/03/15 22:39:39 scottr Exp $ */
/*
@@ -212,7 +212,7 @@ main(argc, argv)
* This is a level zero dump tape.
*/
vprintf(stdout, "Begin level 0 restore\n");
- initsymtable((char *)0);
+ initsymtable(NULL);
extractdirs(1);
vprintf(stdout, "Calculate extraction list.\n");
treescan(".", ROOTINO, nodeupdates);
@@ -246,7 +246,7 @@ main(argc, argv)
case 't':
setup();
extractdirs(0);
- initsymtable((char *)0);
+ initsymtable(NULL);
while (argc--) {
canon(*argv++, name);
ino = dirlookup(name);
@@ -261,7 +261,7 @@ main(argc, argv)
case 'x':
setup();
extractdirs(1);
- initsymtable((char *)0);
+ initsymtable(NULL);
while (argc--) {
canon(*argv++, name);
ino = dirlookup(name);