Changeset b28c09e in buchla-68k for ram/ldselbx.c


Ignore:
Timestamp:
11/15/2017 09:13:05 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
b27040e
Parents:
e68b406
Message:

Avoid shadowing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/ldselbx.c

    re68b406 rb28c09e  
    7070        register int32_t count;
    7171        register int16_t c;
    72         int8_t errbuf[64];
     72        int8_t buf[64];
    7373
    7474        for (count = 0; count < len; count++) {
     
    7878                if (EOF EQ (c = getc(fp))) {
    7979
    80                         sprintf(errbuf, "errno = %d", errno);
     80                        sprintf(buf, "errno = %d", errno);
    8181
    8282                        ldermsg("Unexpected EOF",
    83                                 errbuf, (int8_t *)NULL, LD_EMCF, LD_EMCB);
     83                                buf, (int8_t *)NULL, LD_EMCF, LD_EMCB);
    8484
    8585#if     DEBUGIT
Note: See TracChangeset for help on using the changeset viewer.