summaryrefslogtreecommitdiffstats
path: root/filescan-utils.c
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-05-15 14:32:33 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-05-18 17:22:26 +0000
commitc0c40afd4114274e89bdcee042678b5dc1fa93cb (patch)
tree238874e504563d14d8a9cc627c28df5ec386009a /filescan-utils.c
parentf5f1e251131b6dd54b8f7bb9a31a7ef6e231a947 (diff)
Fixed spelling
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'filescan-utils.c')
-rw-r--r--filescan-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filescan-utils.c b/filescan-utils.c
index 8a155cf..a15a69b 100644
--- a/filescan-utils.c
+++ b/filescan-utils.c
@@ -100,7 +100,7 @@ json_object* ScanForConfig (const char* searchPath, CtlScanDirModeT mode, const
return (responseJ);
}
-const char *GetMidleName(const char*name) {
+const char *GetMiddleName(const char*name) {
char *fullname = strdup(name);
for (int idx = 0; fullname[idx] != '\0'; idx++) {
@@ -129,7 +129,7 @@ const char *GetBinderName() {
static char psName[17];
// retrieve binder name from process name afb-name-trailer
prctl(PR_GET_NAME, psName,NULL,NULL,NULL);
- binderName=(char*)GetMidleName(psName);
+ binderName=(char*)GetMiddleName(psName);
}
return binderName;