aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/examples/update_priority.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctrl/libhicnctrl/examples/update_priority.c')
-rw-r--r--ctrl/libhicnctrl/examples/update_priority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrl/libhicnctrl/examples/update_priority.c b/ctrl/libhicnctrl/examples/update_priority.c
index bbe174c2f..6dd974067 100644
--- a/ctrl/libhicnctrl/examples/update_priority.c
+++ b/ctrl/libhicnctrl/examples/update_priority.c
@@ -33,7 +33,7 @@ int main(int argc, char **argv) {
unsigned priority = atoi(argv[2]);
char face_id_s[SYMBOLIC_NAME_LEN];
- hc_sock_t *socket = hc_sock_create();
+ hc_sock_t *socket = hc_sock_create_forwarder(FORWARDER_TYPE_HICNLIGHT);
if (!socket) {
DEBUG("Error creating libhicnctrl socket");
goto ERR_SOCK;