commit | 2d9a02744f5a2e8325fc0c3e5533593261cead0a | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss_linux@m4x.org> | Sat Oct 29 13:28:52 2016 +0200 |
committer | Dan Williams <dan.j.williams@intel.com> | Fri Nov 11 20:37:42 2016 -0800 |
tree | 82353ac815c7fd2990b8a10143fa861ff764f0de | |
parent | 82bf1037f2cab2d6960a08ae08513f2c3c0b335a [diff] |
nvdimm: use the right length of "pmem" In order to test that the name of a resource begins with "pmem", call strncmp() with 4 as length instead of 3 to match the whole prefix. Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com>