summaryrefslogtreecommitdiff
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
parentd8f1e63a7511adf6a668e59d5a08dc995d1b94af (diff)
downloadenlightenment-fc89c4f78cfa7ef7d9499767a830d39aa3785ab6.tar.gz
e ckpasswd - clean some vars to be static and a fprintf status
-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 2521483c35..1212f53c33 100644
--- a/src/bin/e_ckpasswd_main.c
+++ b/src/bin/e_ckpasswd_main.c
@@ -16,10 +16,10 @@
#include <Ecore.h>
#include <Eldbus.h>
-uid_t uid = -1; // uid of person running me
-gid_t gid = -1; // gid of person running me
-char *user_name = NULL;
-char *group_name = NULL;
+static uid_t uid = -1; // uid of person running me
+static gid_t gid = -1; // gid of person running me
+static char *user_name = NULL;
+static char *group_name = NULL;
#if defined(__OpenBSD__)
@@ -229,7 +229,7 @@ polkit_auth(const char *cookie, unsigned int auth_uid)
if (!vari)
BARF("Cannot create new iter container");
if (!eldbus_message_iter_basic_append(vari, 'u', auth_uid))
- BARF("Cannot append 'u' arg for auth_id");
+ BARF("Cannot append 'u' arg for auth_uid");
eldbus_message_iter_container_close(dict, vari);
eldbus_message_iter_container_close(array, dict);
eldbus_message_iter_container_close(subj, array);