Parent: f0591385d26feb21a98d0971a8ebb2223f2ed20a
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-07-11 13:33:06
Tree: d55cd850f3a0b03f283f0644bbccf1b55bee9491
profiles/input: Fix usage of PATH_MAX PATH_MAX already contains the terminating null so there's no need to +1 to it. Also, snprintf guarantees a null-terminated string so there's no need to explicitly set a terminating character after the call.
Diffstat
| M | profiles/input/device.c | | | 3 | +- - |
1 files changed, 1 insertions(+), 2 deletions(-)