summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-27 09:19:47 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-27 09:19:47 +0100
commitfc89c4f78cfa7ef7d9499767a830d39aa3785ab6 (patch)
treed987516444161cfe5e24e0c44f827325888e4b33 /src
parentd8f1e63a7511adf6a668e59d5a08dc995d1b94af (diff)
e ckpasswd - clean some vars to be static and a fprintf status
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_ckpasswd_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/e_ckpasswd_main.c b/src/bin/e_ckpasswd_main.c
index 2521483c3..1212f53c3 100644
--- a/src/bin/e_ckpasswd_main.c
+++ b/src/bin/e_ckpasswd_main.c
@@ -16,10 +16,10 @@
16#include <Ecore.h> 16#include <Ecore.h>
17#include <Eldbus.h> 17#include <Eldbus.h>
18 18
19uid_t uid = -1; // uid of person running me 19static uid_t uid = -1; // uid of person running me
20gid_t gid = -1; // gid of person running me 20static gid_t gid = -1; // gid of person running me
21char *user_name = NULL; 21static char *user_name = NULL;
22char *group_name = NULL; 22static char *group_name = NULL;
23 23
24#if defined(__OpenBSD__) 24#if defined(__OpenBSD__)
25 25
@@ -229,7 +229,7 @@ polkit_auth(const char *cookie, unsigned int auth_uid)
229 if (!vari) 229 if (!vari)
230 BARF("Cannot create new iter container"); 230 BARF("Cannot create new iter container");
231 if (!eldbus_message_iter_basic_append(vari, 'u', auth_uid)) 231 if (!eldbus_message_iter_basic_append(vari, 'u', auth_uid))
232 BARF("Cannot append 'u' arg for auth_id"); 232 BARF("Cannot append 'u' arg for auth_uid");
233 eldbus_message_iter_container_close(dict, vari); 233 eldbus_message_iter_container_close(dict, vari);
234 eldbus_message_iter_container_close(array, dict); 234 eldbus_message_iter_container_close(array, dict);
235 eldbus_message_iter_container_close(subj, array); 235 eldbus_message_iter_container_close(subj, array);