From ea6dccaed60caf11006f8a816113e4b0d39deefb Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 22 Jul 2014 10:11:39 -0400 Subject: [PATCH 14/22] Use PRIx64 in nvme parsing. This should fix https://github.com/vathpela/efibootmgr/issues/6 , though I don't know if it'll actually make nvme work. Signed-off-by: Peter Jones --- src/lib/unparse_path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/unparse_path.c b/src/lib/unparse_path.c index c39a49a..b164758 100644 --- a/src/lib/unparse_path.c +++ b/src/lib/unparse_path.c @@ -307,7 +307,7 @@ unparse_messaging_path(char *buffer, size_t buffer_size, EFI_DEVICE_PATH *path) get(c, sata->lun)); case 23: return snprintf(buffer, buffer_size, - "NVME(%x,%lx)", + "NVME(%x,%" PRIx64 ")", get(a, nvme->namespace_id), get(b, nvme->ieee_extended_unique_identifier)); default: -- 1.9.3