Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2010 09:03:31 +0000 (UTC)
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/bsdlabel bsdlabel.c
Message-ID:  <201008020903.o7293frC055689@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jh          2010-08-02 09:03:31 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sbin/bsdlabel        bsdlabel.c 
  Log:
  SVN rev 210744 on 2010-08-02 09:03:31Z by jh
  
  MFC r209614:
  
  - Don't assign the return value from read(2) to a variable of type
    int.
  - Use errx(3) instead of err(3) to print the error message on short
    reads in readlabel(). errno won't be set on short reads which can
    easily occur here due to the fixed size read request.
  
  PR:             144307
  
  Revision   Changes    Path
  1.117.2.3  +8 -6      src/sbin/bsdlabel/bsdlabel.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008020903.o7293frC055689>