From owner-cvs-all@FreeBSD.ORG Sun Aug 20 06:32:43 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AEE016A4E1; Sun, 20 Aug 2006 06:32:43 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3214E43D66; Sun, 20 Aug 2006 06:32:40 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k7K6WevZ072938; Sun, 20 Aug 2006 06:32:40 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7K6WeFw072937; Sun, 20 Aug 2006 06:32:40 GMT (envelope-from imp) Message-Id: <200608200632.k7K6WeFw072937@repoman.freebsd.org> From: Warner Losh Date: Sun, 20 Aug 2006 06:32:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/bin/df df.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2006 06:32:43 -0000 imp 2006-08-20 06:32:40 UTC FreeBSD src repository Modified files: bin/df df.c Log: Prefer strlcpy to strncpy. In one case, this saves us from re-zeroing data that's alreday 0. In another, it saves us from zeroing data that will be overwritten again. Revision Changes Path 1.65 +2 -2 src/bin/df/df.c