aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb/db_write_cmd.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-07-01 19:42:56 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-07-01 19:42:56 +0000
commit1c6989fa7e54e08aa6c9e238298b3c511bf73660 (patch)
tree5462fe1b698a26dcde6938462d678cf06f4cb6cd /sys/ddb/db_write_cmd.c
parent4f018929d4af826eaa4c24f90993a711d8efc71b (diff)
Notes
Diffstat (limited to 'sys/ddb/db_write_cmd.c')
-rw-r--r--sys/ddb/db_write_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_write_cmd.c b/sys/ddb/db_write_cmd.c
index 26ae37b429d9..d745100d924a 100644
--- a/sys/ddb/db_write_cmd.c
+++ b/sys/ddb/db_write_cmd.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_write_cmd.c,v 1.10 1997/06/14 11:52:37 bde Exp $
+ * $Id: db_write_cmd.c,v 1.11 1998/07/08 10:53:52 bde Exp $
*/
/*
@@ -78,7 +78,7 @@ db_write_cmd(address, have_addr, count, modif)
while (db_expression(&new_value)) {
old_value = db_get_value(addr, size, FALSE);
db_printsym(addr, DB_STGY_ANY);
- db_printf("\t\t%#8r\t=\t%#8r\n", old_value, new_value);
+ db_printf("\t\t%#8lr\t=\t%#8lr\n", (long)old_value,(long)new_value);
db_put_value(addr, size, new_value);
addr += size;