summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gisi/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gisi/client.c b/gisi/client.c
index d182303e..e5af0644 100644
--- a/gisi/client.c
+++ b/gisi/client.c
@@ -475,7 +475,7 @@ int g_isi_subscribe(GIsiClient *client, uint8_t type,
GIsiIndication **old;
if (cb == NULL)
- return EINVAL;
+ return -EINVAL;
ind = g_try_new0(GIsiIndication, 1);
if (!ind)