Deleted Added
full compact
debug.c (52419) debug.c (125011)
1
2/*
3 * debug.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

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

29 * WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
30 * PUNITIVE, OR CONSEQUENTIAL DAMAGES, PROCUREMENT OF SUBSTITUTE GOODS OR
31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
1
2/*
3 * debug.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

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

29 * WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
30 * PUNITIVE, OR CONSEQUENTIAL DAMAGES, PROCUREMENT OF SUBSTITUTE GOODS OR
31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * $FreeBSD: head/usr.sbin/ngctl/debug.c 52419 1999-10-21 09:06:11Z julian $
37 * $FreeBSD: head/usr.sbin/ngctl/debug.c 125011 2004-01-26 10:27:18Z ru $
38 */
39
40#include "ngctl.h"
41
42static int DebugCmd(int ac, char **av);
43
44const struct ngcmd debug_cmd = {
45 DebugCmd,
46 "debug [level]",
47 "Get/set debugging verbosity level",
48 "Without any argument, this command displays the current"
49 " debugging verbosity level. If the argument is ``+'' or ``-''"
50 " the debug level is incremented or decremented; otherwise,"
38 */
39
40#include "ngctl.h"
41
42static int DebugCmd(int ac, char **av);
43
44const struct ngcmd debug_cmd = {
45 DebugCmd,
46 "debug [level]",
47 "Get/set debugging verbosity level",
48 "Without any argument, this command displays the current"
49 " debugging verbosity level. If the argument is ``+'' or ``-''"
50 " the debug level is incremented or decremented; otherwise,"
51 " it must be an absolute numerical level."
51 " it must be an absolute numerical level.",
52 {}
52};
53
54static int
55DebugCmd(int ac, char **av)
56{
57 int level;
58
59 /* Get arguments */

--- 19 unchanged lines hidden ---
53};
54
55static int
56DebugCmd(int ac, char **av)
57{
58 int level;
59
60 /* Get arguments */

--- 19 unchanged lines hidden ---