Skip to content

Commit db74cfe

Browse files
committed
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 025e611 commit db74cfe

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
@@ -9837,7 +9837,7 @@ static int append_keyfile(struct nvme_global_ctx *ctx, const char *keyring,
98379837

98389838
err = fprintf(fd, "%s %s\n", identity, exported_key);
98399839
if (err < 0) {
9840-
nvme_show_error("Failed to append key to '%', %s",
9840+
nvme_show_error("Failed to append key to '%s', %s",
98419841
keyfile, nvme_strerror(errno));
98429842
err = -errno;
98439843
} else {

0 commit comments

Comments
 (0)