openbsd-ports/devel/gputils/patches/patch-gputils_gpvo_c
naddy cfb6182a3f Import gputils 0.11.7.
Submitted by Andrew Dalgleish <openbsd@ajd.net.au>.

GPUTILS is a collection of tools for the Microchip (TM) PIC
microcontrollers. It includes gpasm, gplink, and gplib.
2003-11-03 01:02:34 +00:00

13 lines
498 B
Plaintext

$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++;