From fba09b2ea9a3c4d861a06886d8f668b8e6a6d412 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 17 Aug 2009 21:34:38 +0000 Subject: Just fix our patch 04-struct_termios.patch instead of adding a new patch. git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/networkmanager@3221 ceb527fc-18e6-0310-9fe2-813c157c29e7 --- debian/patches/04-struct_termios.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/patches/04-struct_termios.patch') diff --git a/debian/patches/04-struct_termios.patch b/debian/patches/04-struct_termios.patch index 9b38e0bf..bddb0394 100644 --- a/debian/patches/04-struct_termios.patch +++ b/debian/patches/04-struct_termios.patch @@ -42,7 +42,7 @@ index 1cba1ca..afdc6a6 100644 stbuf.c_cflag |= (speed | bits | CREAD | 0 | parity | stopbits); - if (ioctl (priv->fd, TCSETA, &stbuf) < 0) { -+ if (tcgetattr (priv->fd, &stbuf) < 0) { ++ if (tcsetattr (priv->fd, TCSANOW, &stbuf) < 0) { nm_warning ("(%s) cannot control device (errno %d)", nm_device_get_iface (NM_DEVICE (device)), errno); return FALSE; -- cgit 1.3.0-6-gf8a5