gisi: Return negative errnos

This commit is contained in:
Aki Niemi 2010-05-14 16:34:00 +03:00
parent 2d8762932a
commit 36bd998597
1 changed files with 1 additions and 1 deletions

View File

@ -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)