diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-04-21 23:47:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-04-21 23:47:39 +0000 |
commit | 882e83ccf31fca22178b290a6753a605bb52044c (patch) | |
tree | e2e6ec6ef7e162fd03a03e5c71bc96ce90d1c105 /sbin/fsdb | |
parent | 67d88b0a9910a68bb666b448d2dac29cb4d3d8c2 (diff) |
sync to netbsd 960418
Diffstat (limited to 'sbin/fsdb')
-rw-r--r-- | sbin/fsdb/Makefile | 7 | ||||
-rw-r--r-- | sbin/fsdb/fsdb.c | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/sbin/fsdb/Makefile b/sbin/fsdb/Makefile index 381b81783ad..37fc709bf89 100644 --- a/sbin/fsdb/Makefile +++ b/sbin/fsdb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1995/10/08 23:08:36 thorpej Exp $ +# $NetBSD: Makefile,v 1.3 1996/04/08 21:03:06 jtc Exp $ # @(#)Makefile 8.1 (Berkeley) 6/5/93 PROG= fsdb @@ -6,8 +6,9 @@ MAN= fsdb.8 SRCS= fsdb.c fsdbutil.c \ dir.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \ pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c -CFLAGS+= -I${.CURDIR}/../../sbin/fsck +CFLAGS+= -I${.CURDIR}/../../sbin/fsck_ffs LDADD+= -ledit -ltermcap -.PATH: ${.CURDIR}/../../sbin/fsck ${.CURDIR}/../../sys/ufs/ffs +DPADD+= ${LIBEDIT} ${LIBTERMCAP} +.PATH: ${.CURDIR}/../../sbin/fsck_ffs ${.CURDIR}/../../sys/ufs/ffs .include <bsd.prog.mk> diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c index 9c10c8ccfb3..cf7f0b6dc9e 100644 --- a/sbin/fsdb/fsdb.c +++ b/sbin/fsdb/fsdb.c @@ -1,5 +1,5 @@ -/* $OpenBSD: fsdb.c,v 1.2 1996/03/21 00:15:46 niklas Exp $ */ -/* $NetBSD: fsdb.c,v 1.3 1996/02/27 22:28:12 jtc Exp $ */ +/* $OpenBSD: fsdb.c,v 1.3 1996/04/21 23:46:22 deraadt Exp $ */ +/* $NetBSD: fsdb.c,v 1.4 1996/03/21 17:56:15 jtc Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #ifndef lint -static char rcsid[] = "$NetBSD: fsdb.c,v 1.3 1996/02/27 22:28:12 jtc Exp $"; +static char rcsid[] = "$NetBSD: fsdb.c,v 1.4 1996/03/21 17:56:15 jtc Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -83,7 +83,7 @@ int returntosingle = 0; * fsreadfd is set up to read from the file system, fswritefd to write to * the file system. */ -void +int main(argc, argv) int argc; char *argv[]; |