Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2007 18:20:16 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/random randomdev_soft.c
Message-ID:  <200705281820.l4SIKGiD079401@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2007-05-28 18:20:16 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/random       randomdev_soft.c 
  Log:
  Don't save SYSCTL_ADD_*() results in a local variable just to throw them
  away; preserve the ones that are needed for further calls in the init
  function and ignore the rest entirely.
  
  Found with:     Coverity Prevent(tm)
  CID:            563
  
  Revision  Changes    Path
  1.15      +9 -15     src/sys/dev/random/randomdev_soft.c



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