From owner-cvs-src@FreeBSD.ORG Thu May 3 09:56:53 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E2FF16A404; Thu, 3 May 2007 09:56:53 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 587B313C480; Thu, 3 May 2007 09:56:53 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l439ureT002807; Thu, 3 May 2007 09:56:53 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l439urXG002806; Thu, 3 May 2007 09:56:53 GMT (envelope-from yar) Message-Id: <200705030956.l439urXG002806@repoman.freebsd.org> From: Yar Tikhiy Date: Thu, 3 May 2007 09:56:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sbin/mdmfs mdmfs.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 09:56:53 -0000 yar 2007-05-03 09:56:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/mdmfs mdmfs.c Log: MFC rev. 1.32: Fix a typo: argv -> argvp. Rationale: We are interested in the current (last) element of the argv array there, not in its first element. [...] Also add a comment that the argv array ends up null-terminated in any case (it's due to the design of the for loop) as an answer to a possible question why the whole argv isn't zero-filled. Revision Changes Path 1.23.2.4 +2 -1 src/sbin/mdmfs/mdmfs.c