diff options
author | Toomas Soome <tsoome@FreeBSD.org> | 2019-10-24 07:49:33 +0000 |
---|---|---|
committer | Toomas Soome <tsoome@FreeBSD.org> | 2019-10-24 07:49:33 +0000 |
commit | 96b2f9c996c82941b58eceaafe55eb696e8a5a4d (patch) | |
tree | a8c0220fa95ec8adf5e086d06412b2c8691370f6 | |
parent | 9992c365b67192825bb81eef34bc6bd8583a90fe (diff) | |
download | src-96b2f9c996c82941b58eceaafe55eb696e8a5a4d.tar.gz src-96b2f9c996c82941b58eceaafe55eb696e8a5a4d.zip |
userboot/test should use PRIx64 as one would expect from prefix 0x
Test is printing decimal value after prefix 0x.
Notes
Notes:
svn path=/head/; revision=354015
-rw-r--r-- | stand/userboot/test/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/userboot/test/test.c b/stand/userboot/test/test.c index 5efe1d3784de..58e2a32a5289 100644 --- a/stand/userboot/test/test.c +++ b/stand/userboot/test/test.c @@ -336,7 +336,7 @@ test_setgdt(void *arg, uint64_t v, size_t sz) void test_exec(void *arg, uint64_t pc) { - printf("Execute at 0x%"PRIu64"\n", pc); + printf("Execute at 0x%"PRIx64"\n", pc); test_exit(arg, 0); } |