Fri Oct 30 06:57:09 2020 UTC ()
Trailing whitespace
(skrll)
diff -r1.170 -r1.171 src/sys/ddb/db_command.c
diff -r1.38 -r1.39 src/sys/ddb/db_command.h
diff -r1.27 -r1.28 src/sys/ddb/db_input.c
diff -r1.12 -r1.13 src/sys/ddb/db_proc.c
--- src/sys/ddb/db_command.c 2020/04/13 11:43:27 1.170
+++ src/sys/ddb/db_command.c 2020/10/30 06:57:08 1.171
@@ -1,4 +1,4 @@
-/* $NetBSD: db_command.c,v 1.170 2020/04/13 11:43:27 skrll Exp $ */
+/* $NetBSD: db_command.c,v 1.171 2020/10/30 06:57:08 skrll Exp $ */
/*
* Copyright (c) 1996, 1997, 1998, 1999, 2002, 2009, 2019
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.170 2020/04/13 11:43:27 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.171 2020/10/30 06:57:08 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_aio.h"
@@ -472,7 +472,7 @@
db_register_tbl(uint8_t type, const struct db_command *cmd_tbl)
{
struct db_cmd_tbl_en *list_ent;
-
+
/* empty list - ignore */
if (cmd_tbl->name == 0)
return 0;
--- src/sys/ddb/db_command.h 2020/05/31 09:51:55 1.38
+++ src/sys/ddb/db_command.h 2020/10/30 06:57:08 1.39
@@ -1,4 +1,4 @@
-/* $NetBSD: db_command.h,v 1.38 2020/05/31 09:51:55 rin Exp $ */
+/* $NetBSD: db_command.h,v 1.39 2020/10/30 06:57:08 skrll Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc.
@@ -88,9 +88,9 @@
#define DDB_ADD_CMD(name,funct,type,cmd_descr,cmd_arg,arg_desc)\
name,funct,type
#endif
-
+
/*
* we have two types of lists one for base commands like reboot
* and another list for show subcommands.
@@ -109,7 +109,7 @@
*/
struct db_command {
const char *name; /* command name */
-
+
/* function to call */
void (*fcn)(db_expr_t, bool, db_expr_t, const char *);
/*
@@ -130,7 +130,7 @@
#define CS_OWN 0x1 /* non-standard syntax */
#define CS_MORE 0x2 /* standard syntax, but may have other
words at end */
-#define CS_COMPAT 0x4 /* is set for compatibilty with old
+#define CS_COMPAT 0x4 /* is set for compatibilty with old
ddb versions*/
#define CS_SHOW 0x8 /* select show list */
#define CS_MACH 0x10 /* select machine dependent list */
--- src/sys/ddb/db_input.c 2019/09/29 02:00:22 1.27
+++ src/sys/ddb/db_input.c 2020/10/30 06:57:08 1.28
--- src/sys/ddb/db_proc.c 2020/04/04 13:59:16 1.12
+++ src/sys/ddb/db_proc.c 2020/10/30 06:57:08 1.13
@@ -1,4 +1,4 @@
-/* $NetBSD: db_proc.c,v 1.12 2020/04/04 13:59:16 mlelstv Exp $ */
+/* $NetBSD: db_proc.c,v 1.13 2020/10/30 06:57:08 skrll Exp $ */
/*-
* Copyright (c) 2009, 2020 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_proc.c,v 1.12 2020/04/04 13:59:16 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_proc.c,v 1.13 2020/10/30 06:57:08 skrll Exp $");
#ifndef _KERNEL
#include <stdbool.h>
@@ -238,7 +238,7 @@
kauth_cred_getuid(p.p_cred),
#else
/* XXX CRASH(8) */ 666,
-#endif
+#endif
p.p_stat, p.p_flag,
p.p_nlwps, p.p_comm,
(p.p_nlwps != 1) ? "*" : wbuf);