From 36bd9985974e16844b67e08d9813b803c5eeb725 Mon Sep 17 00:00:00 2001 From: Aki Niemi Date: Fri, 14 May 2010 16:34:00 +0300 Subject: [PATCH] gisi: Return negative errnos --- gisi/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)