diff --git a/tests/pdu.c b/tests/pdu.c index 97722e5..b61f955 100644 --- a/tests/pdu.c +++ b/tests/pdu.c @@ -76,7 +76,7 @@ static int _pdu_decode(char const * pdu, char const * number, strftime(buf, sizeof(buf), "%d/%m/%Y %H:%M:%S", &t); if(strcmp(buf, datetime) != 0) { - fputs("pdu: Did not match the date\n", stderr); + fprintf(stderr, "pdu: %s: %s\n", buf, "Did not match the date"); ret = 2; } /* check the encoding */