[Midnightbsd-cvs] src [11242] trunk/sbin/badsect/badsect.c: update

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jul 1 17:21:19 EDT 2018


Revision: 11242
          http://svnweb.midnightbsd.org/src/?rev=11242
Author:   laffer1
Date:     2018-07-01 17:21:19 -0400 (Sun, 01 Jul 2018)
Log Message:
-----------
update

Modified Paths:
--------------
    trunk/sbin/badsect/Makefile
    trunk/sbin/badsect/badsect.8
    trunk/sbin/badsect/badsect.c

Property Changed:
----------------
    trunk/sbin/badsect/badsect.8

Modified: trunk/sbin/badsect/Makefile
===================================================================
--- trunk/sbin/badsect/Makefile	2018-07-01 21:20:29 UTC (rev 11241)
+++ trunk/sbin/badsect/Makefile	2018-07-01 21:21:19 UTC (rev 11242)
@@ -1,5 +1,6 @@
+# $MidnightBSD$
 #	@(#)Makefile	8.1 (Berkeley) 6/5/93
-# $MidnightBSD$
+# $FreeBSD: stable/10/sbin/badsect/Makefile 198236 2009-10-19 16:00:24Z ru $
 
 PROG=	badsect
 DPADD=	${LIBUFS}

Modified: trunk/sbin/badsect/badsect.8
===================================================================
--- trunk/sbin/badsect/badsect.8	2018-07-01 21:20:29 UTC (rev 11241)
+++ trunk/sbin/badsect/badsect.8	2018-07-01 21:21:19 UTC (rev 11242)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1985, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
 .\"
@@ -26,7 +27,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)badsect.8	8.1 (Berkeley) 6/5/93
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/sbin/badsect/badsect.8 141846 2005-02-13 22:25:33Z ru $
 .\"
 .Dd June 5, 1993
 .Dt BADSECT 8


Property changes on: trunk/sbin/badsect/badsect.8
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/sbin/badsect/badsect.c
===================================================================
--- trunk/sbin/badsect/badsect.c	2018-07-01 21:20:29 UTC (rev 11241)
+++ trunk/sbin/badsect/badsect.c	2018-07-01 21:21:19 UTC (rev 11242)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Copyright (c) 1981, 1983, 1993
  *	The Regents of the University of California.  All rights reserved.
@@ -39,7 +40,7 @@
 #endif
 #endif
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/sbin/badsect/badsect.c 227081 2011-11-04 13:36:02Z ed $");
 
 /*
  * badsect
@@ -71,9 +72,9 @@
 
 #define sblock	disk.d_fs
 #define	acg	disk.d_cg
-struct	uufsd disk;
-struct	fs *fs = &sblock;
-int	errs;
+static struct	uufsd disk;
+static struct	fs *fs = &sblock;
+static int	errs;
 
 int	chkuse(daddr_t, int);
 



More information about the Midnightbsd-cvs mailing list