summaryrefslogtreecommitdiffstats
path: root/libmsi/libmsi-database.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-02-06 14:01:11 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-02-07 00:00:31 +0100
commit11f969a2572e0cb226f994f2d610bfb8856f8d11 (patch)
treed5b69c94b88dd70f973209d42dee35e88c303e6b /libmsi/libmsi-database.c
parent8ed8317b944df2d29edf035b6bf2256a6b4782c3 (diff)
downloadmsitools-11f969a2572e0cb226f994f2d610bfb8856f8d11.tar.gz
msitools-11f969a2572e0cb226f994f2d610bfb8856f8d11.tar.xz
msitools-11f969a2572e0cb226f994f2d610bfb8856f8d11.zip
Replace ERR with g_critical
Diffstat (limited to 'libmsi/libmsi-database.c')
-rw-r--r--libmsi/libmsi-database.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmsi/libmsi-database.c b/libmsi/libmsi-database.c
index b088ced..643314e 100644
--- a/libmsi/libmsi-database.c
+++ b/libmsi/libmsi-database.c
@@ -851,7 +851,7 @@ static char *msi_build_createsql_columns(char **columns_data, char **types, unsi
type = type_object;
break;
default:
- ERR("Unknown type: %c\n", types[i][0]);
+ g_critical("Unknown type: %c\n", types[i][0]);
msi_free(columns);
return NULL;
}
@@ -991,7 +991,7 @@ static unsigned construct_record(unsigned num_columns, char **types,
}
break;
default:
- ERR("Unhandled column type: %c\n", types[i][0]);
+ g_critical("Unhandled column type: %c\n", types[i][0]);
g_object_unref(*rec);
return LIBMSI_RESULT_FUNCTION_FAILED;
}
@@ -2208,14 +2208,14 @@ LibmsiResult _libmsi_database_open(LibmsiDatabase *db)
memcmp( uuid, clsid_msi_patch, 16 ) != 0 &&
memcmp( uuid, clsid_msi_transform, 16 ) != 0 )
{
- ERR("storage GUID is not a MSI database GUID %s\n",
+ g_critical("storage GUID is not a MSI database GUID %s\n",
debugstr_guid(uuid) );
goto end;
}
if ( db->flags & LIBMSI_DB_FLAGS_PATCH && memcmp( uuid, clsid_msi_patch, 16 ) != 0 )
{
- ERR("storage GUID is not the MSI patch GUID %s\n",
+ g_critical("storage GUID is not the MSI patch GUID %s\n",
debugstr_guid(uuid) );
goto end;
}