aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorHillf Danton <[email protected]>2011-01-06 20:58:12 +0800
committerIngo Molnar <[email protected]>2011-01-07 15:55:10 +0100
commit524429c31b486c05449666b94613f59f729c0a84 (patch)
tree00d0a06e864c0054cc6764f1afa6887e1281bcb6 /net/lapb/lapb_iface.c
parent1c5354de90c900b369e2ebd36c3a065ede29eb93 (diff)
sched: Fix strncmp operation
One of the operands, buf, is incorrect, since it is stripped and the correct address for subsequent string comparing could change if leading white spaces, if any, are removed from buf. It is fixed by replacing buf with cmp. Signed-off-by: Hillf Danton <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions