diff --git a/src/bin/mail_utils/mail2mbox.cpp b/src/bin/mail_utils/mail2mbox.cpp index 6e51ea1c10..bdaff43b16 100644 --- a/src/bin/mail_utils/mail2mbox.cpp +++ b/src/bin/mail_utils/mail2mbox.cpp @@ -55,7 +55,7 @@ DisplayErrorMessage(const char* messageString = NULL, status_t errorNumber = 0, } if (errorNumber != 0) { - snprintf(errorBuffer, sizeof(errorBuffer), "%s: %s (%lx)" + snprintf(errorBuffer, sizeof(errorBuffer), "%s: %s (%" B_PRIx32 ")" "has occured.", messageString, strerror(errorNumber), errorNumber); messageString = errorBuffer; }