summaryrefslogtreecommitdiff
path: root/src/tests/eet
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-04-12 15:40:42 +0100
committerTom Hacohen <tom@stosb.com>2016-04-12 15:40:49 +0100
commit1d71d21d35baf9d02e7533e5c1a5c082d5d360bd (patch)
tree33ca35bfbdfb501e4bd758fd9c7f9d0e695feec1 /src/tests/eet
parentb4da02cac26326a7c9bf0beeffcd8db00c0835f5 (diff)
Eet test: renamed shadowing variable.
Diffstat (limited to 'src/tests/eet')
-rw-r--r--src/tests/eet/eet_test_identity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eet/eet_test_identity.c b/src/tests/eet/eet_test_identity.c
index 4e445d546f..30ccc8dddc 100644
--- a/src/tests/eet/eet_test_identity.c
+++ b/src/tests/eet/eet_test_identity.c
@@ -193,7 +193,7 @@ START_TEST(eet_test_identity_open_pkcs8_enc)
193} 193}
194END_TEST 194END_TEST
195 195
196static const char *_cert_dir_find(const char *argv0) 196static const char *_cert_dir_find(const char *_argv0)
197{ 197{
198 static char base[PATH_MAX] = ""; 198 static char base[PATH_MAX] = "";
199 char path[PATH_MAX]; 199 char path[PATH_MAX];
@@ -212,7 +212,7 @@ static const char *_cert_dir_find(const char *argv0)
212 return base; 212 return base;
213 } 213 }
214 214
215 eina_strlcpy(base, argv0, sizeof(base)); 215 eina_strlcpy(base, _argv0, sizeof(base));
216 do 216 do
217 { 217 {
218 char *p = strrchr(base, '/'); 218 char *p = strrchr(base, '/');