Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2008 18:27:25 +0400
From:      Andrew Pantyukhin <infofarmer@FreeBSD.org>
To:        Steven Kreuzer <skreuzer@exit2shell.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Regression tests for usr.sbin/zic and lib/libc/stdtime
Message-ID:  <20080402142723.GI4692@amilo.cenkes.org>
In-Reply-To: <20080402135746.GA2659@scruffy.exit2shell.com>
References:  <20080402115408.GA66944@k7.mavetju> <20080402135746.GA2659@scruffy.exit2shell.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 02, 2008 at 09:57:46AM -0400, Steven Kreuzer wrote:
> -	(void) sprintf(fullname, "%s/%s", directory, name);
> +	(void) snprintf(fullname, sizeof(filename), "%s/%s", directory, name);
					 ^^^^^^^^
Has a typo crawled in?



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