summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/common/misc.c')
-rw-r--r--sys/boot/common/misc.c4
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)) {
OpenPOWER on IntegriCloud