Deleted Added
full compact
mfiutil.c (237259) mfiutil.c (237260)
1/*-
2 * Copyright (c) 2008, 2009 Yahoo!, Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*-
2 * Copyright (c) 2008, 2009 Yahoo!, Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/usr.sbin/mfiutil/mfiutil.c 237259 2012-06-19 06:18:37Z eadler $
29 * $FreeBSD: head/usr.sbin/mfiutil/mfiutil.c 237260 2012-06-19 06:18:42Z eadler $
30 */
31
32#include <sys/errno.h>
33#include <err.h>
34#include <stdio.h>
35#include <stdlib.h>
36#include <string.h>
37#include <unistd.h>

--- 49 unchanged lines hidden (view full) ---

87#ifdef DEBUG
88 fprintf(stderr, " debug - debug 'show config'\n");
89 fprintf(stderr, " dump - display 'saved' config\n");
90#endif
91 exit(1);
92}
93
94static int
30 */
31
32#include <sys/errno.h>
33#include <err.h>
34#include <stdio.h>
35#include <stdlib.h>
36#include <string.h>
37#include <unistd.h>

--- 49 unchanged lines hidden (view full) ---

87#ifdef DEBUG
88 fprintf(stderr, " debug - debug 'show config'\n");
89 fprintf(stderr, " dump - display 'saved' config\n");
90#endif
91 exit(1);
92}
93
94static int
95version(int ac, char **av)
95version(int ac __unused, char **av __unused)
96{
97
98 printf("mfiutil version 1.0.14");
99#ifdef DEBUG
100 printf(" (DEBUG)");
101#endif
102 printf("\n");
103 return (0);

--- 43 unchanged lines hidden ---
96{
97
98 printf("mfiutil version 1.0.14");
99#ifdef DEBUG
100 printf(" (DEBUG)");
101#endif
102 printf("\n");
103 return (0);

--- 43 unchanged lines hidden ---