Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19357a68 authored by Dan Williams's avatar Dan Williams
Browse files

tools/testing/nvdimm: fix missing newline in nfit_test_dimm 'handle' attribute



Sysfs userspace tooling generally expects the kernel to emit a newlines
when reading sysfs attributes.

Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 718fda67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1193,7 +1193,7 @@ static ssize_t handle_show(struct device *dev, struct device_attribute *attr,
	if (dimm < 0)
		return dimm;

	return sprintf(buf, "%#x", handle[dimm]);
	return sprintf(buf, "%#x\n", handle[dimm]);
}
DEVICE_ATTR_RO(handle);