summaryrefslogtreecommitdiff
path: root/hardinfo/dmi_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo/dmi_util.c')
-rw-r--r--hardinfo/dmi_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo/dmi_util.c b/hardinfo/dmi_util.c
index 5f9f6f9a..91be8508 100644
--- a/hardinfo/dmi_util.c
+++ b/hardinfo/dmi_util.c
@@ -202,7 +202,7 @@ char *dmi_get_str_abs(const char *id_str) {
/* try dmidecode, but may require root */
snprintf(full_path, PATH_MAX, "dmidecode -s %s", id_str);
- spawned = g_spawn_command_line_sync(full_path,
+ spawned = hardinfo_spawn_command_line_sync(full_path,
&out, &err, &i, NULL);
if (spawned) {
if (i == 0)
@@ -303,7 +303,7 @@ char *dmidecode_read(const dmi_type *type) {
snprintf(full_path, PATH_MAX, "dmidecode");
}
- spawned = g_spawn_command_line_sync(full_path,
+ spawned = hardinfo_spawn_command_line_sync(full_path,
&out, &err, &i, NULL);
if (spawned) {
if (i == 0)