Fix typos in Documentation/ndctl/ndctl-sanitize-dimm.txt and ndctl/lib/dimm.c
Signed-off-by: Yi Zhang <yi.zh...@redhat.com> --- Documentation/ndctl/ndctl-sanitize-dimm.txt | 2 +- ndctl/lib/dimm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/ndctl/ndctl-sanitize-dimm.txt b/Documentation/ndctl/ndctl-sanitize-dimm.txt index e044678..72ec96e 100644 --- a/Documentation/ndctl/ndctl-sanitize-dimm.txt +++ b/Documentation/ndctl/ndctl-sanitize-dimm.txt @@ -47,7 +47,7 @@ include::xable-bus-options.txt[] label data. Namespaces get reverted to raw mode. -o:: ---ovewrite:: +--overwrite:: Wipe the entire DIMM, including label data. This can take significant time, and the command is non-blocking. With this option, the overwrite request is merely submitted to the NVDIMM, and the completion is diff --git a/ndctl/lib/dimm.c b/ndctl/lib/dimm.c index 2b6e8a5..f9dde2f 100644 --- a/ndctl/lib/dimm.c +++ b/ndctl/lib/dimm.c @@ -853,7 +853,7 @@ NDCTL_EXPORT int ndctl_dimm_wait_overwrite(struct ndctl_dimm *dimm) dbg(ctx, "%s: overwrite complete\n", ndctl_dimm_get_devname(dimm)); else if (rc == 0) - dbg(ctx, "%s: ovewrite skipped\n", + dbg(ctx, "%s: overwrite skipped\n", ndctl_dimm_get_devname(dimm)); else dbg(ctx, "%s: overwrite error waiting for complete\n", -- 2.34.3