Rm use of non-standard __func__ in example programs
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/programs/psa/aead_cipher_psa.c b/programs/psa/aead_cipher_psa.c
index 67dd1e4..7afc2b3 100644
--- a/programs/psa/aead_cipher_psa.c
+++ b/programs/psa/aead_cipher_psa.c
@@ -90,7 +90,7 @@
do { \
ret = code; \
if( ret != 0 ) { \
- printf( "%s:%03d: ret = -0x%04x\n", __func__, __LINE__, (unsigned) -ret ); \
+ printf( "%03d: ret = -0x%04x\n", __LINE__, (unsigned) -ret ); \
goto exit; \
} \
} while( 0 )
@@ -210,7 +210,7 @@
do { \
status = code; \
if( status != PSA_SUCCESS ) { \
- printf( "%s:%03d: status = %d\n", __func__, __LINE__, status ); \
+ printf( "%03d: status = %d\n", __LINE__, status ); \
goto exit; \
} \
} while( 0 )