[bootlin/training-materials updates] master: debugging: labs: fix random crc print format (807c5aa6)
Clément Léger
clement.leger at bootlin.com
Thu Nov 17 16:19:40 CET 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/807c5aa6e84a4cec84be18b4c21c597f370dfd9f
>---------------------------------------------------------------
commit 807c5aa6e84a4cec84be18b4c21c597f370dfd9f
Author: Clément Léger <clement.leger at bootlin.com>
Date: Thu Nov 17 16:13:55 2022 +0100
debugging: labs: fix random crc print format
Signed-off-by: Clément Léger <clement.leger at bootlin.com>
>---------------------------------------------------------------
807c5aa6e84a4cec84be18b4c21c597f370dfd9f
lab-data/debugging/nfsroot/root/system_profiling/crc_random.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lab-data/debugging/nfsroot/root/system_profiling/crc_random.c b/lab-data/debugging/nfsroot/root/system_profiling/crc_random.c
index 0577ab02..9a81f987 100644
--- a/lab-data/debugging/nfsroot/root/system_profiling/crc_random.c
+++ b/lab-data/debugging/nfsroot/root/system_profiling/crc_random.c
@@ -86,7 +86,7 @@ int main(int argc, char **argv)
clock_gettime(CLOCK_MONOTONIC, &end);
end_nano = timespec_to_nano(&end);
- printf("Computed crc %" PRIu32 " in %" PRIu64 " nano\n", crc, end_nano - start_nano);
+ printf("Computed crc 0x%" PRIx32 " in %" PRIu64 " nano\n", crc, end_nano - start_nano);
}
free(data);
More information about the training-materials-updates
mailing list