Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 1997 07:14:20 -0700 (PDT)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/i386/isa diskslice_machdep.c
Message-ID:  <199704191414.HAA17997@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         97/04/19 07:14:18

  Modified:    sys/i386/isa  diskslice_machdep.c
  Log:
  Avoid division by 0 in check_part().  (It occurred when max_nsectors == 0.
  This case is clearly an error, but we keep calling check_part() to get
  diagnostics.)
  
  Fixed nearby indentation and commenting bugs.
  
  Revision  Changes    Path
  1.25      +11 -8     src/sys/i386/isa/diskslice_machdep.c



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