aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDavid Herrmann <[email protected]>2011-02-11 01:10:44 -0800
committerDmitry Torokhov <[email protected]>2011-02-21 01:02:28 -0800
commit5d9d6e91b835796c21fbd7ce479880e5181be112 (patch)
treed7881c56527eb833a33d32899a4f879d51a2a6c9 /tools/perf/scripts/python/bin
parent26cdb1ae76f842e895ef4d09796a9101a7f8746b (diff)
Input: uinput - fix setting up device name
The check for non-empty device name was botched since we tried to account for extra space for the terminating zero at the same time. Convert to kstrndup() to avoid this problem. Signed-off-by: David Herrmann <[email protected]> Acked-by: Aristeu Rozanski <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions