Probably doesn't make much difference, but won't hurt if we ever send the
wrong path name.

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 47c6896..72b9b4f 100644
--- a/tools/isdv4-serial-debugger.c
+++ b/tools/isdv4-serial-debugger.c
@@ -74,7 +74,7 @@ int open_device(const char *path)
        struct serial_struct ser;
 
        TRACE("Opening device '%s'.\n", path);
-       fd = open(path, O_RDWR);
+       fd = open(path, O_RDWR | O_NOCTTY);
 
        if (fd < 1)
                perror("Failed to open device file");
-- 
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