drivers/unix/unix.c
changeset 267 96c688ebcde7
parent 197 182008694a32
child 384 83793fc7ce48
--- a/drivers/unix/unix.c	Tue Sep 04 17:47:46 2007 +0200
+++ b/drivers/unix/unix.c	Mon Sep 10 08:04:32 2007 +0200
@@ -124,9 +124,9 @@
 	        //LeaveMutex();
 		res = DLL_CALL(canSend)(((CANPort*)port)->fd, m);
 		//EnterMutex();
-		return res;
+		return res; // OK
 	}               
-	return -1;
+	return 1; // NOT OK
 }
 
 void canReceiveLoop(CAN_PORT port)