From 222c60b0721f725e3daffeb634dd77a4b00e03a6 Mon Sep 17 00:00:00 2001 From: James Haggerty Date: Sun, 21 Jul 2024 09:10:28 +1000 Subject: [PATCH] Fix TOTP LFS printf string --- movement/watch_faces/complication/totp_face_lfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/movement/watch_faces/complication/totp_face_lfs.c b/movement/watch_faces/complication/totp_face_lfs.c index 66668620..5d7defe8 100644 --- a/movement/watch_faces/complication/totp_face_lfs.c +++ b/movement/watch_faces/complication/totp_face_lfs.c @@ -216,7 +216,7 @@ static uint8_t *totp_face_lfs_get_file_secret(struct totp_record *record) { return current_secret; } if (base32_decode((unsigned char *)buffer, current_secret) != record->secret_size) { - printf("TOTP can't properly decode secret from totp_uris.txt; failed at offset %d; read to %d\n", buffer, record->file_secret_offset, file_secret_offset); + printf("TOTP can't properly decode secret '%s' from totp_uris.txt; failed at offset %d; read to %ld\n", buffer, record->file_secret_offset, file_secret_offset); } return current_secret; }