about summary refs log tree commit diff
path: root/debian/patches/04-struct_termios.patch
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2009-08-17 21:34:38 +0000
committerMichael Biebl <biebl@debian.org>2009-08-17 21:34:38 +0000
commitfba09b2ea9a3c4d861a06886d8f668b8e6a6d412 (patch)
treedf31ea4e2b7e0ee999d1b55cabc586b9c0e28644 /debian/patches/04-struct_termios.patch
parent850be32402cbc83e43ab817e50df0acfe4ad1433 (diff)
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
Diffstat (limited to 'debian/patches/04-struct_termios.patch')
-rw-r--r--debian/patches/04-struct_termios.patch2
1 files changed, 1 insertions, 1 deletions
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;