[BACK]Return to patch-src_target_armv7m_c CVS log [TXT][DIR] Up to [local] / ports / devel / openocd / patches

Annotation of ports/devel/openocd/patches/patch-src_target_armv7m_c, Revision 1.1.1.1

1.1       yason       1: $OpenBSD$
                      2: --- src/target/armv7m.c.orig   Fri Jan 16 10:02:25 2009
                      3: +++ src/target/armv7m.c        Wed May 27 12:24:58 2009
                      4: @@ -159,7 +159,7 @@ char *armv7m_exception_string(int number)
                      5:                return "Invalid exception";
                      6:        if (number < 16)
                      7:                return armv7m_exception_strings[number];
                      8: -      sprintf(enamebuf, "External Interrupt(%i)", number - 16);
                      9: +      snprintf(enamebuf, sizeof(enamebuf), "External Interrupt(%i)", number - 16);
                     10:        return enamebuf;
                     11:  }
                     12:

CVSweb