Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
 tools/isdv4-serial-debugger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/isdv4-serial-debugger.c b/tools/isdv4-serial-debugger.c
index 72b9b4f..778b500 100644
--- a/tools/isdv4-serial-debugger.c
+++ b/tools/isdv4-serial-debugger.c
@@ -81,7 +81,7 @@ int open_device(const char *path)
 
        if (ioctl(fd, TIOCGSERIAL, &ser) == -1)
        {
-               fprintf(stderr, "Not a serial device?");
+               perror("Not a serial device?");
                close(fd);
                fd = -1;
                goto out;
-- 
1.8.5.3


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to