diff options
author | dfr <dfr@FreeBSD.org> | 1998-09-26 10:51:38 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-09-26 10:51:38 +0000 |
commit | ad6ddb77671a5780eefdb973075656e601890d74 (patch) | |
tree | 7ee815e87abf339583a4b840f14159bc49a21714 /sys/boot/common/misc.c | |
parent | 236ad5eb3ca90664e90a383de91faa975d35b8fc (diff) | |
download | FreeBSD-src-ad6ddb77671a5780eefdb973075656e601890d74.zip FreeBSD-src-ad6ddb77671a5780eefdb973075656e601890d74.tar.gz |
* Add old UFS compatibility code to alpha/boot1.
* Fix a raft of warnings, printf and otherwise.
* Allocate the correct amount in mod_searchmodule to prevent an overflow.
* Fix the makefiles so they work outside my home directory (oops).
Diffstat (limited to 'sys/boot/common/misc.c')
-rw-r--r-- | sys/boot/common/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/common/misc.c b/sys/boot/common/misc.c index 6333eaf..96c58f8 100644 --- a/sys/boot/common/misc.c +++ b/sys/boot/common/misc.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: misc.c,v 1.2 1998/09/03 02:10:07 msmith Exp $ + * $Id: misc.c,v 1.3 1998/09/19 01:31:28 msmith Exp $ */ #include <string.h> @@ -101,7 +101,7 @@ hexdump(caddr_t region, size_t len) pager_open(); for (line = region; line < (region + len); line += 16) { - emit("%08x ", line); + emit("%08lx ", (long) line); for (x = 0; x < 16; x++) { if ((line + x) < (region + len)) { |