diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-02-06 14:01:11 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-02-07 00:00:31 +0100 |
commit | 11f969a2572e0cb226f994f2d610bfb8856f8d11 (patch) | |
tree | d5b69c94b88dd70f973209d42dee35e88c303e6b /libmsi/libmsi-record.c | |
parent | 8ed8317b944df2d29edf035b6bf2256a6b4782c3 (diff) | |
download | msitools-11f969a2572e0cb226f994f2d610bfb8856f8d11.tar.gz msitools-11f969a2572e0cb226f994f2d610bfb8856f8d11.tar.xz msitools-11f969a2572e0cb226f994f2d610bfb8856f8d11.zip |
Replace ERR with g_critical
Diffstat (limited to 'libmsi/libmsi-record.c')
-rw-r--r-- | libmsi/libmsi-record.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmsi/libmsi-record.c b/libmsi/libmsi-record.c index 645d7eb..8dbd555 100644 --- a/libmsi/libmsi-record.c +++ b/libmsi/libmsi-record.c @@ -64,7 +64,7 @@ _libmsi_free_field (LibmsiField *field ) } break; default: - ERR ("Invalid field type %d\n", field->type); + g_critical ("Invalid field type %d\n", field->type); } } @@ -213,7 +213,7 @@ unsigned _libmsi_record_copy_field( LibmsiRecord *in_rec, unsigned in_n, out->u.stream = in->u.stream; break; default: - ERR("invalid field type %d\n", in->type); + g_critical("invalid field type %d\n", in->type); } if (r == LIBMSI_RESULT_SUCCESS) out->type = in->type; @@ -807,7 +807,7 @@ char *msi_dup_record_field( LibmsiRecord *rec, int field ) r = _libmsi_record_get_string( rec, field, str, &sz ); if (r != LIBMSI_RESULT_SUCCESS) { - ERR("failed to get string!\n"); + g_critical("failed to get string!\n"); msi_free( str ); return NULL; } |