[PATCH obexd 7/8] core: Use ENOSYS to indicate not implemented function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

---
 plugins/opp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/opp.c b/plugins/opp.c
index d9b68b2..fa3ee91 100644
--- a/plugins/opp.c
+++ b/plugins/opp.c
@@ -120,7 +120,7 @@ static int opp_chkput(struct obex_session *os, void *user_data)
 	int err;
 
 	if (obex_get_size(os) == OBJECT_SIZE_DELETE)
-		return -EINVAL;
+		return -ENOSYS;
 
 	t = obex_get_name(os);
 	if (t != NULL && !is_filename(t))
-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux