]> code.ossystems Code Review - openembedded-core.git/commit
makedevs: don't restrict device node paths to 40 characters
authorAndre McCurdy <armccurdy@gmail.com>
Mon, 12 Sep 2016 20:14:05 +0000 (13:14 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Sep 2016 14:15:32 +0000 (15:15 +0100)
commite8022d00c34e37300c1c06f712c7ced5e03d2a57
treec055c4ea31d130b07e07f99b83b54658209eb6d3
parent34aa20c6f323bbf7ad53beb643126e4e03634708
makedevs: don't restrict device node paths to 40 characters

40 character paths work OK for device nodes in /dev but not for
device nodes created in a chroot, LXC container, etc.

Since the 'path' array is already a 4k buffer, the sscanf 40
character limit seems to be a typo or historical mis-merge. Update
the sscanf limit and bring the code in sync with the Buildroot
version:

  https://git.buildroot.net/buildroot/commit/?id=8876b6751e0bc19a3754290061808f0f8420708e

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/makedevs/makedevs/makedevs.c