diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-03-21 19:32:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-03-21 19:32:18 +0000 |
commit | 98277790f8a3b2055b23dc244561b63c419c6210 (patch) | |
tree | 33d70d8a87cc20aba68f47e7cf897c02fa20dc04 /sys | |
parent | 449ce2971ef3c3ef8ac156852360a062a074b467 (diff) |
Uninitialized variable in db_write_bytes().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/m88k/m88k/db_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/m88k/m88k/db_interface.c b/sys/arch/m88k/m88k/db_interface.c index 877e2955190..ed3c1e3b7d3 100644 --- a/sys/arch/m88k/m88k/db_interface.c +++ b/sys/arch/m88k/m88k/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.5 2006/05/08 14:36:09 miod Exp $ */ +/* $OpenBSD: db_interface.c,v 1.6 2007/03/21 19:32:17 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1991 Carnegie Mellon University @@ -531,7 +531,7 @@ void db_write_bytes(db_addr_t addr, size_t size, char *data) { extern pt_entry_t *pmap_pte(pmap_t, vaddr_t); - char *dst; + char *dst = (char *)addr; vaddr_t va; paddr_t pa; pt_entry_t *pte, opte; |