From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 4 23:10:02 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07446106566B for ; Fri, 4 Jun 2010 23:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BFB0F8FC1C for ; Fri, 4 Jun 2010 23:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o54NA0rw012226 for ; Fri, 4 Jun 2010 23:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o54NA0t9012225; Fri, 4 Jun 2010 23:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 4 Jun 2010 23:10:00 GMT Resent-Message-Id: <201006042310.o54NA0t9012225@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nicholas Mills Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95E7F1065673 for ; Fri, 4 Jun 2010 23:00:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 856888FC27 for ; Fri, 4 Jun 2010 23:00:38 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o54N0cWu030980 for ; Fri, 4 Jun 2010 23:00:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o54N0cOp030979; Fri, 4 Jun 2010 23:00:38 GMT (envelope-from nobody) Message-Id: <201006042300.o54N0cOp030979@www.freebsd.org> Date: Fri, 4 Jun 2010 23:00:38 GMT From: Nicholas Mills To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/147482: mksnap_ffs(8) prints garbage as error message when nmount(2) fails X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 23:10:02 -0000 >Number: 147482 >Category: bin >Synopsis: mksnap_ffs(8) prints garbage as error message when nmount(2) fails >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 04 23:10:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Nicholas Mills >Release: 8.0-RELEASE >Organization: Clemson University >Environment: FreeBSD freebsd.localdomain 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The utility named mksnap_ffs(8) outputs uninitialized data as an error message in certain cases when nmount(2) fails. >How-To-Repeat: Run "mksnap_ffs /" to get the error message "mksnap_ffs: Cannot create snapshot /: : Is a directory". >Fix: The errmsg string should be initialized and only output if it is set by nmount(2). >Release-Note: >Audit-Trail: >Unformatted: