commit | 74edd5cb05f05c2721a722456d7cb579df848981 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Sun Sep 11 18:49:53 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Wed Sep 21 23:04:34 2011 +0200 |
tree | fa27eb1de52b9312c56963d8193aae5a5461875f | |
parent | fffa660a1c336d75ee3cc277e45c30847354d453 [diff] |
net: turn name len check into an assert The new sanity check introduces a printf warning for some systems: eth.c:233: warning: format '%zu' expects type 'size_t', but argument 3 has type 'int' Rather than tweak the format string, use the new assert() helper instead. Signed-off-by: Mike Frysinger <vapier@gentoo.org>