diff options
author | rnordier <rnordier@FreeBSD.org> | 1999-02-22 09:36:54 +0000 |
---|---|---|
committer | rnordier <rnordier@FreeBSD.org> | 1999-02-22 09:36:54 +0000 |
commit | f4ef1ef7800544d6be643b5191de1b72717d2674 (patch) | |
tree | c613ee4cdbc2d9cf04e3531995fdb8ccf3eeb12a | |
parent | 9f7c64c6ce1f8008d1a060a9f9a4294f223b4439 (diff) | |
download | FreeBSD-src-f4ef1ef7800544d6be643b5191de1b72717d2674.zip FreeBSD-src-f4ef1ef7800544d6be643b5191de1b72717d2674.tar.gz |
Make various minor corrections.
-rw-r--r-- | usr.sbin/boot0cfg/boot0cfg.8 | 4 | ||||
-rw-r--r-- | usr.sbin/boot0cfg/boot0cfg.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/boot0cfg/boot0cfg.8 b/usr.sbin/boot0cfg/boot0cfg.8 index 28a5d9e..e949cc7 100644 --- a/usr.sbin/boot0cfg/boot0cfg.8 +++ b/usr.sbin/boot0cfg/boot0cfg.8 @@ -22,7 +22,7 @@ .\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, .\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: $ +.\" $Id: boot0cfg.8,v 1.1.1.1 1999/02/21 21:23:42 rnordier Exp $ .\" .Dd February 21, 1999 .Dt BOOT0CFG 8 @@ -112,7 +112,7 @@ and to save slice selection information.) This is the default; a .Sq noupdate option causes the MBR to be treated as read-only. .El -.It Fl t Ar secs +.It Fl t Ar ticks Set the timeout value to .Ar ticks . (There are approximately 18.2 ticks per second.) diff --git a/usr.sbin/boot0cfg/boot0cfg.c b/usr.sbin/boot0cfg/boot0cfg.c index 4075023..67d0c88 100644 --- a/usr.sbin/boot0cfg/boot0cfg.c +++ b/usr.sbin/boot0cfg/boot0cfg.c @@ -26,8 +26,8 @@ #ifndef lint static const char rcsid[] = -"$Id: $"; -#endif /* not lint */ + "$Id: boot0cfg.c,v 1.1.1.1 1999/02/21 21:23:42 rnordier Exp $"; +#endif /* not lint */ #include <sys/param.h> #include <sys/disklabel.h> @@ -126,7 +126,7 @@ main(int argc, char *argv[]) if (argc != 1) usage(); disk = mkrdev(*argv); - up = B_flag || d_arg || o_flag || t_arg; + up = B_flag || d_arg != -1 || o_flag || t_arg != -1; if ((fd = open(disk, up ? O_RDWR : O_RDONLY)) == -1) err(1, "%s", disk); if ((n = read(fd, buf, MBRSIZE)) == -1) |