libnvdimm, pfn: fix align attribute
authorDan Williams <dan.j.williams@intel.com>
Sat, 10 Dec 2016 16:12:05 +0000 (08:12 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 10 Dec 2016 16:12:05 +0000 (08:12 -0800)
commitaf7d9f0c57941b465043681cb5c3410f7f3f1a41
tree93e5054fb054b777207854ae1057359d8427cb3c
parent3a71b3c8946fd44cd2599d9e87ac8f90c71318e1
libnvdimm, pfn: fix align attribute

Fix the format specifier so that the attribute can be parsed correctly.
Currently it returns decimal 1000 for a 4096-byte alignment.

Cc: <stable@vger.kernel.org>
Reported-by: Dave Jiang <dave.jiang@intel.com>
Fixes: 315c562536c4 ("libnvdimm, pfn: add 'align' attribute, default to HPAGE_SIZE")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pfn_devs.c