diff options
author | Denis Vlasenko | 2007-01-12 22:10:34 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-12 22:10:34 +0000 |
commit | 3a34d0c08a77ee48edc3f4353cc49b95aba85c2f (patch) | |
tree | 09708579e18a033c6722c5194c46116705f47b83 /networking/libiproute/ll_addr.c | |
parent | 21b080daa8c180a43d10d6b3dee47134ef21e581 (diff) | |
download | busybox-3a34d0c08a77ee48edc3f4353cc49b95aba85c2f.zip busybox-3a34d0c08a77ee48edc3f4353cc49b95aba85c2f.tar.gz |
random small size optimizations
Diffstat (limited to 'networking/libiproute/ll_addr.c')
-rw-r--r-- | networking/libiproute/ll_addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/ll_addr.c b/networking/libiproute/ll_addr.c index ba0a65a..b4a2187 100644 --- a/networking/libiproute/ll_addr.c +++ b/networking/libiproute/ll_addr.c @@ -31,7 +31,7 @@ const char *ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int l = 0; for (i=0; i<alen; i++) { if (i==0) { - snprintf(buf+l, blen, "%02x", addr[i]); + snprintf(buf+l, blen, ":%02x"+1, addr[i]); blen -= 2; l += 2; } else { |