commit d63b0ebbb6d3c867819316e37d0a5a8b30731253 parent 98241199d1a07c7acabf1444889be02df3ea71ef Author: sin <sin@2f30.org> Date: Sun, 15 May 2016 17:02:17 +0100 Return failure when plugin is unsupported Diffstat:
M | spoon.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spoon.c b/spoon.c @@ -103,7 +103,7 @@ battread(char *buf, size_t len) int battread(char *buf, size_t len) { - return dummyread(buf, len); + return -1; } #endif