aboutsummaryrefslogtreecommitdiffstats
path: root/src/afs-supervisor.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-03-21 14:55:24 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-06-13 17:13:29 +0200
commit8dc14014ad83952343d2473140103650555d5ea2 (patch)
tree3a520d9cfaf1b4175d1f1100506a9119a21576e9 /src/afs-supervisor.c
parent3b52373e31ed3bdfe6544f2a5e81d68b111d1767 (diff)
afs-supervisor: Fix typo
Change-Id: Icc3c15f577f04117cdfaf2bcbcc4d15a99d02138 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afs-supervisor.c')
-rw-r--r--src/afs-supervisor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/afs-supervisor.c b/src/afs-supervisor.c
index acad7920..62adf9b6 100644
--- a/src/afs-supervisor.c
+++ b/src/afs-supervisor.c
@@ -60,14 +60,14 @@ struct supervised
};
/* api and apiset name */
-static const char supervision_apiname[] = AFS_SURPERVISION_APINAME;
-static const char supervisor_apiname[] = AFS_SURPERVISOR_APINAME;
+static const char supervision_apiname[] = AFS_SUPERVISION_APINAME;
+static const char supervisor_apiname[] = AFS_SUPERVISOR_APINAME;
/* the empty apiset */
static struct afb_apiset *empty_apiset;
/* supervision socket path */
-static const char supervision_socket_path[] = AFS_SURPERVISION_SOCKET;
+static const char supervision_socket_path[] = AFS_SUPERVISION_SOCKET;
static struct fdev *supervision_fdev;
/* global mutex */
@@ -137,7 +137,7 @@ static int send_initiator(int fd, const char *command)
/* set */
memset(&asi, 0, sizeof asi);
- strcpy(asi.interface, AFS_SURPERVISION_INTERFACE_1);
+ strcpy(asi.interface, AFS_SUPERVISION_INTERFACE_1);
if (command)
strncpy(asi.extra, command, sizeof asi.extra - 1);