OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Ray Lai (raycvs.openbsd.org)
Date: Mon Feb 19 2007 - 19:50:01 CST


CVSROOT: /cvs
Module name: src
Changes by: raycvs.openbsd.org 2007/02/19 18:50:01

Modified files:
        sbin/disklabel : disklabel.c

Log message:
Change hard coded numbers to sizeof(buf). Also change some
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size.

Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago.

OK millert.