summaryrefslogtreecommitdiff
path: root/hardinfo/dmi_util.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2019-07-15 18:46:59 -0700
committerLeandro Pereira <leandro@hardinfo.org>2019-08-10 16:50:18 -0700
commit3c83737fa488281f20030b5b36d7e1d4ba4313c9 (patch)
tree058ab8e18ff6bacdcf4a2551bf8845b447bab88a /hardinfo/dmi_util.c
parent0133e9fba615d8b5b1c67976a1da702977dd74a3 (diff)
Always pulse status bar while spawning processes synchronously
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)