From 24a5d6d6864f603508dde23b1e27e4d9f221ebba Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 2 Nov 2006 18:52:29 +0000 Subject: [PATCH] add debug output --- lib/driver/rfmod.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/driver/rfmod.cpp b/lib/driver/rfmod.cpp index 071343ed..41ff0445 100644 --- a/lib/driver/rfmod.cpp +++ b/lib/driver/rfmod.cpp @@ -23,6 +23,8 @@ eRFmod::eRFmod() instance = this; fd = open("/dev/rfmod0", O_RDWR); + if (fd < 0) + eDebug("couldnt open /dev/rfmod0!!!!"); } eRFmod::~eRFmod() -- 2.30.2