Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern kern/subr_devsw.c: Nix trailing whitespace.
details: https://anonhg.NetBSD.org/src/rev/b5fbf48463ad
branches: trunk
changeset: 373537:b5fbf48463ad
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Feb 15 13:12:45 2023 +0000
description:
kern/subr_devsw.c: Nix trailing whitespace.
No functional change intended.
Please do (setq show-trailing-whitespace t) if you use Emacs!
Maybe someone should teach nvi to do something similar.
diffstat:
sys/kern/subr_devsw.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6c94fa3d7751 -r b5fbf48463ad sys/kern/subr_devsw.c
--- a/sys/kern/subr_devsw.c Wed Feb 15 13:05:21 2023 +0000
+++ b/sys/kern/subr_devsw.c Wed Feb 15 13:12:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_devsw.c,v 1.50 2023/02/13 19:07:14 buhrow Exp $ */
+/* $NetBSD: subr_devsw.c,v 1.51 2023/02/15 13:12:45 riastradh Exp $ */
/*-
* Copyright (c) 2001, 2002, 2007, 2008 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_devsw.c,v 1.50 2023/02/13 19:07:14 buhrow Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_devsw.c,v 1.51 2023/02/15 13:12:45 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_dtrace.h"
@@ -397,7 +397,7 @@
if (conv->d_name == NULL || strcmp(devname, conv->d_name) != 0)
continue;
- if ((bdev != NULL) && (*bmajor < 0))
+ if ((bdev != NULL) && (*bmajor < 0))
*bmajor = conv->d_bmajor;
if (*cmajor < 0)
*cmajor = conv->d_cmajor;
Home |
Main Index |
Thread Index |
Old Index