Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/networking/libiproute/rtm_map.c

    r2725 r3621  
    1313#include "utils.h"
    1414
    15 const char* FAST_FUNC rtnl_rtntype_n2a(int id, char *buf)
     15const char* FAST_FUNC rtnl_rtntype_n2a(int id)
    1616{
    1717    switch (id) {
     
    4141        return "xresolve";
    4242    default:
    43         /* buf is SPRINT_BSIZE big */
    44         sprintf(buf, "%d", id);
    45         return buf;
     43        return itoa(id);
    4644    }
    4745}
Note: See TracChangeset for help on using the changeset viewer.