commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 15/36: Fix setting modem control lines


From: Samuel Thibault
Subject: [hurd] 15/36: Fix setting modem control lines
Date: Tue, 24 Sep 2013 12:31:15 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 5f9c778164aff5bd79779b7ea4b54a9135335a94
Author: Samuel Thibault <address@hidden>
Date:   Sat Sep 21 13:37:23 2013 +0200

    Fix setting modem control lines
    
    * term/hurdio.c (hurdio_mdmctl): Pass `newbits` intead of `oldbits` to
    `tioctl_tiocmods`.
---
 term/hurdio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/term/hurdio.c b/term/hurdio.c
index dfade0e..357ab38 100644
--- a/term/hurdio.c
+++ b/term/hurdio.c
@@ -598,7 +598,7 @@ hurdio_mdmctl (int how, int bits)
       else
        newbits = bits;
 
-      err = tioctl_tiocmods (ioport, oldbits);
+      err = tioctl_tiocmods (ioport, newbits);
       if (err && (err == EMIG_BAD_ID || err == EOPNOTSUPP))
        tioc_caps &= ~TIOC_CAP_MODS;
       else if (err)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]