Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2000 11:01:07 -0500
From:      Chris Faulhaber <jedgar@fxp.org>
To:        freebsd-audit@FreeBSD.org
Subject:   Re: libutil diff
Message-ID:  <20001206110107.D93425@peitho.fxp.org>
In-Reply-To: <20001206105523.A52977@peitho.fxp.org>; from jedgar@fxp.org on Wed, Dec 06, 2000 at 10:55:23AM -0500
References:  <20001206105523.A52977@peitho.fxp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 06, 2000 at 10:55:23AM -0500, Chris Faulhaber wrote:
> -	    sprintf(name_cur, "%s-cur", lr->what);
> -	    sprintf(name_max, "%s-max", lr->what);
> +	    snprintf(name_cur, sizeof(name_cur), "%s-cur", lr->what);
> +	    snprintf(name_max, sizeof(name_cur), "%s-max", lr->what);
                                           ^^^-- name_max
-- 
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




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