diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-20 11:16:48 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-28 20:56:12 (GMT) |
commit | 2e3ef6e4e475ecd0f4dfe3888b98aa077ef790fe (patch) | |
tree | 566e1cc23c49ae7ea8d0f732ea521af082341b5f /net/net.c | |
parent | b920ee9db254786ee909705d904ef509758afbdc (diff) | |
download | u-boot-fsl-qoriq-2e3ef6e4e475ecd0f4dfe3888b98aa077ef790fe.tar.xz |
string_to_VLAN: constify "var" arg
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'net/net.c')
-rw-r--r-- | net/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1913,7 +1913,7 @@ void VLAN_to_string(ushort x, char *s) sprintf(s, "%d", x & VLAN_IDMASK); } -ushort string_to_VLAN(char *s) +ushort string_to_VLAN(const char *s) { ushort id; |