From: Milan Jurik Date: Wed, 30 Dec 2015 22:43:27 +0000 (-0800) Subject: Illumos 2077 - lots of unreachable breaks in illumos gate X-Git-Tag: zfs-0.7.0-rc1~328 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfe86c01d5b3eec4a490de16a1db79c1244395ed;p=zfs Illumos 2077 - lots of unreachable breaks in illumos gate 2077 lots of unreachable breaks in illumos gate Reviewed by: Dan McDonald Reviewed by: Garrett D'Amore Approved by: Richard Lowe References: https://www.illumos.org/issues/2077 https://github.com/illumos/illumos-gate/commit/33f5ff1 Porting notes: - Only one file of the original patch applied to ZFS - Minor formating change to align copyright block with upstream Ported-by: Brian Behlendorf --- diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c index 356bf9aae..8fb6087a5 100644 --- a/cmd/zfs/zfs_main.c +++ b/cmd/zfs/zfs_main.c @@ -21,10 +21,11 @@ /* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2011, 2014 by Delphix. All rights reserved. + * Copyright (c) 2011, 2015 by Delphix. All rights reserved. + * Copyright 2012 Milan Jurik. All rights reserved. * Copyright (c) 2012, Joyent, Inc. All rights reserved. * Copyright (c) 2013 Steven Hartland. All rights reserved. - * Copyright 2013 Nexenta Systems, Inc. All rights reserved. + * Copyright 2013 Nexenta Systems, Inc. All rights reserved. */ #include @@ -802,7 +803,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);