Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/stand/mkbootimage set bb_flags to 0. Though ...
details: https://anonhg.NetBSD.org/src/rev/7e912c02bb8d
branches: trunk
changeset: 473679:7e912c02bb8d
user: cgd <cgd%NetBSD.org@localhost>
date: Mon Jun 14 23:52:25 1999 +0000
description:
set bb_flags to 0. Though not strictly necessary (because of an earlier
memset()), this is nice for source-level consistency.
diffstat:
sys/arch/alpha/stand/mkbootimage/mkbootimage.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 5380a972090a -r 7e912c02bb8d sys/arch/alpha/stand/mkbootimage/mkbootimage.c
--- a/sys/arch/alpha/stand/mkbootimage/mkbootimage.c Mon Jun 14 22:05:23 1999 +0000
+++ b/sys/arch/alpha/stand/mkbootimage/mkbootimage.c Mon Jun 14 23:52:25 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkbootimage.c,v 1.2 1999/04/05 02:56:33 cgd Exp $ */
+/* $NetBSD: mkbootimage.c,v 1.3 1999/06/14 23:52:25 cgd Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@@ -132,6 +132,7 @@
bb = (struct boot_block *)outbuf;
bb->bb_secsize = howmany(insb.st_size, BOOT_BLOCK_BLOCKSIZE);
bb->bb_secstart = 1;
+ bb->bb_flags = 0;
CHECKSUM_BOOT_BLOCK(bb, &bb->bb_cksum);
if (verbose) {
Home |
Main Index |
Thread Index |
Old Index