Nicolas Iooss 2d9a02744f 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>
2016-11-11 20:37:42 -08:00
..
2016-07-28 17:38:16 -07:00
2016-05-20 22:02:57 -07:00
2016-11-11 20:37:42 -08:00
2015-06-24 21:24:10 -04:00
2016-05-20 22:02:57 -07:00
2016-07-12 19:25:38 -07:00