diff options
| -rw-r--r-- | drivers/nvdimm/pfn_devs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvdimm/pfn_devs.c b/drivers/nvdimm/pfn_devs.c index cea8350fbc7e..a2ac9e641aa9 100644 --- a/drivers/nvdimm/pfn_devs.c +++ b/drivers/nvdimm/pfn_devs.c | |||
| @@ -108,7 +108,7 @@ static ssize_t align_show(struct device *dev, | |||
| 108 | { | 108 | { |
| 109 | struct nd_pfn *nd_pfn = to_nd_pfn_safe(dev); | 109 | struct nd_pfn *nd_pfn = to_nd_pfn_safe(dev); |
| 110 | 110 | ||
| 111 | return sprintf(buf, "%lx\n", nd_pfn->align); | 111 | return sprintf(buf, "%ld\n", nd_pfn->align); |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | static ssize_t __align_store(struct nd_pfn *nd_pfn, const char *buf) | 114 | static ssize_t __align_store(struct nd_pfn *nd_pfn, const char *buf) |
