openbsd-ports/devel/gputils/patches/patch-gputils_gpvo_c

13 lines
498 B
Plaintext
Raw Normal View History

$OpenBSD: patch-gputils_gpvo_c,v 1.1.1.1 2003/11/03 01:02:36 naddy Exp $
--- gputils/gpvo.c.orig 2003-10-14 22:32:11.000000000 +1000
+++ gputils/gpvo.c 2003-10-14 22:32:32.000000000 +1000
@@ -132,7 +132,7 @@ void print_data(enum proc_class class, M
break;
if (disassemble)
- gp_disassemble(data, &org, class, buffer);
+ gp_disassemble(data, &org, class, buffer, sizeof(buffer));
printf("%06x: %04x %s\n", org << byte_addr, memory & 0xffff, buffer);
org++;