aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/common/users.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/arch/common/users.h')
-rw-r--r--hardinfo2/arch/common/users.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/arch/common/users.h b/hardinfo2/arch/common/users.h
index 5889dc0a..fd8f7834 100644
--- a/hardinfo2/arch/common/users.h
+++ b/hardinfo2/arch/common/users.h
@@ -45,9 +45,9 @@ scan_users_do(void)
uid = atoi(tmp[2]);
strend(tmp[4], ',');
if (uid >= 1000 && uid <= 65530) {
- human_users = g_strdup_printf("%s$%s$%s=%s\n", human_users, key, tmp[0], tmp[4]);
+ human_users = h_strdup_cprintf("$%s$%s=%s\n", human_users, key, tmp[0], tmp[4]);
} else {
- sys_users = g_strdup_printf("%s$%s$%s=%s\n", sys_users, key, tmp[0], tmp[4]);
+ sys_users = h_strdup_cprintf("$%s$%s=%s\n", sys_users, key, tmp[0], tmp[4]);
}
g_strfreev(tmp);