Util-Linux package development
 help / color / mirror / Atom feed
From: "Dr. Werner Fink" <werner@suse.de>
To: Francesco Cosoleto <cosoleto@gmail.com>
Cc: util-linux <util-linux@vger.kernel.org>
Subject: Re: agetty: double equals sign typo in opentty()
Date: Wed, 7 Sep 2011 09:05:07 +0200	[thread overview]
Message-ID: <20110907070507.GA22531@boole.suse.de> (raw)
In-Reply-To: <CAMFXF50k2Q7JAQH8kkZkqVCf9SM9ava1EmxRmBzqhdhqO8uQLA@mail.gmail.com>

On Tue, Sep 06, 2011 at 10:50:58PM +0200, Francesco Cosoleto wrote:
> Hello.
> 
> agetty.c(988): warning #187: use of "=" where "==" may have been intended
>         if (ioctl(STDIN_FILENO, TIOCMGET, &serial) < 0 && (errno = EINVAL)) {
>                                                           ^
> This was spotted by Intel Compiler.

Wooh ... good catch :)

     Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr

      parent reply	other threads:[~2011-09-07 16:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06 20:50 agetty: double equals sign typo in opentty() Francesco Cosoleto
2011-09-07  5:45 ` Karel Zak
2011-09-07  7:05 ` Dr. Werner Fink [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110907070507.GA22531@boole.suse.de \
    --to=werner@suse.de \
    --cc=cosoleto@gmail.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox