svn commit: r235217 - head/cddl/contrib/opensolaris/cmd/zfs
Martin Matuska
mm at FreeBSD.org
Thu May 10 09:10:32 UTC 2012
Author: mm
Date: Thu May 10 09:10:31 2012
New Revision: 235217
URL: http://svn.freebsd.org/changeset/base/235217
Log:
Remove unreachable break in zfs_main.c
Partial import of illumos changeset 13622:e5889df1eaac
2077 lots of unreachable breaks in illumos gate
References:
https://www.illumos.org/issues/2077
PR: kern/167370
Submitted by: Marcelo Araujo <araujo at FreeBSD.org>
Obtained from: illumos (issue #2077)
MFC after: 1 week
Modified:
head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Thu May 10 08:57:58 2012 (r235216)
+++ head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Thu May 10 09:10:31 2012 (r235217)
@@ -23,6 +23,7 @@
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2012 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2012 by Delphix. All rights reserved.
+ * Copyright 2012 Milan Jurik. All rights reserved.
* Copyright (c) 2011-2012 Pawel Jakub Dawidek <pawel at dawidek.net>.
* All rights reserved.
* Copyright (c) 2012 Martin Matuska <mm at FreeBSD.org>. All rights reserved.
@@ -765,7 +766,6 @@ zfs_do_create(int argc, char **argv)
(void) fprintf(stderr, gettext("missing size "
"argument\n"));
goto badusage;
- break;
case '?':
(void) fprintf(stderr, gettext("invalid option '%c'\n"),
optopt);
More information about the svn-src-head
mailing list