Skip to content

Commit a781044

Browse files
martin-gpyigaw
authored andcommitted
nvme: update format specifier in nvme_show_error()
Copilot identified an invalid format specifier in the nvme_show_error() invocation. Fix the same. Signed-off-by: Martin George <[email protected]>
1 parent 721b014 commit a781044

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nvme.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9830,7 +9830,7 @@ static int append_keyfile(struct nvme_global_ctx *ctx, const char *keyring,
98309830

98319831
err = fprintf(fd, "%s %s\n", identity, exported_key);
98329832
if (err < 0) {
9833-
nvme_show_error("Failed to append key to '%', %s",
9833+
nvme_show_error("Failed to append key to '%s', %s",
98349834
keyfile, nvme_strerror(errno));
98359835
err = -errno;
98369836
} else {

0 commit comments

Comments
 (0)