Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 1995 10:30:00 -0700
From:      ortmann@plains.nodak.edu
To:        freebsd-bugs
Subject:   bin/358: incorrect argument handling in "dump"
Message-ID:  <199504231730.KAA02845@freefall.cdrom.com>
In-Reply-To: Your message of Sun, 23 Apr 1995 12:18:39 -0500 <199504231718.MAA16069@localhost.nodak.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

>Number:         358
>Category:       bin
>Synopsis:       incorrect argument handling in "dump"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 23 10:30:00 1995
>Originator:     Daniel Ortmann
>Organization:
>Release:        FreeBSD 2.0.950418-SNAP i386
>Environment:

>Description:

	The command "dump -0cu -b 8 -B 349525 -f /dev/nrst0 /" gives
	an error of "Unknown arguments to dump: 8 -B 349525 -f /dev/nrst0 /".

	The problem seems to be that numargs() is not correctly adjusting
	the value of argc and argv.  The above error message is given
	after the for/switch argument processing is left.

>How-To-Repeat:

	Repeat by running the command:
	"dump -0cu -b 8 -B 349525 -f /dev/nrst0 /"

>Fix:
	
	Work around by accepting dump defaults.

>Audit-Trail:
>Unformatted:





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