diff options
| author | Charles.Forsyth <devnull@localhost> | 2007-04-07 12:52:27 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2007-04-07 12:52:27 +0000 |
| commit | e1bd49a1e1823eab71c293efd1bd0c9b83c350c9 (patch) | |
| tree | a9424cde16004cb9e591045225bc61beed339dd5 /os/ip/iproute.c | |
| parent | 15345f9c75c069d3e2e362af5d6f931eef7772ef (diff) | |
20070407-1350 more updates from plan 9 pc kernel, and a few unreachable fixes(!)
Diffstat (limited to 'os/ip/iproute.c')
| -rw-r--r-- | os/ip/iproute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/ip/iproute.c b/os/ip/iproute.c index 3229435e..1888a89c 100644 --- a/os/ip/iproute.c +++ b/os/ip/iproute.c @@ -662,7 +662,7 @@ sprintroute(Route *r, Routewalk *rw) iname = "-"; if(nifc != -1) { iname = ifbuf; - sprint(ifbuf, "%d", nifc); + snprint(ifbuf, sizeof ifbuf, "%d", nifc); } p = seprint(rw->p, rw->e, rformat, addr, mask, gate, t, r->tag, iname); if(rw->o < 0){ |
