Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/dm dm: Fix indentation



details:   https://anonhg.NetBSD.org/src/rev/7ede32be27df
branches:  trunk
changeset: 967392:7ede32be27df
user:      tkusumi <tkusumi%NetBSD.org@localhost>
date:      Sat Dec 07 16:13:39 2019 +0000

description:
dm: Fix indentation

diffstat:

 sys/dev/dm/device-mapper.c |  19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diffs (44 lines):

diff -r 45c40b019f03 -r 7ede32be27df sys/dev/dm/device-mapper.c
--- a/sys/dev/dm/device-mapper.c        Sat Dec 07 16:00:36 2019 +0000
+++ b/sys/dev/dm/device-mapper.c        Sat Dec 07 16:13:39 2019 +0000
@@ -1,4 +1,4 @@
-/*        $NetBSD: device-mapper.c,v 1.46 2019/12/06 16:33:47 tkusumi Exp $ */
+/*        $NetBSD: device-mapper.c,v 1.47 2019/12/07 16:13:39 tkusumi Exp $ */
 
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -149,7 +149,7 @@
        { .cmd = "reload",  .fn = dm_table_load_ioctl,    .allowed = 0 },
        { .cmd = "status",  .fn = dm_table_status_ioctl,  .allowed = 1 },
        { .cmd = "table",   .fn = dm_table_status_ioctl,  .allowed = 1 },
-       { .cmd = NULL,      .fn = NULL,                   .allowed = 0 }
+       { .cmd = NULL,      .fn = NULL,                   .allowed = 0 },
 };
 
 #ifdef _MODULE
@@ -431,18 +431,17 @@
                aprint_debug("dm NETBSD_DM_IOCTL called\n");
                break;
        default:
-                aprint_debug("dm unknown ioctl called\n");
-                return ENOTTY;
-                break; /* NOT REACHED */
+               aprint_debug("dm unknown ioctl called\n");
+               return ENOTTY;
+               break; /* NOT REACHED */
        }
 
-        return 0;
+       return 0;
 }
 
- /*
-  * Check for disk specific ioctls.
-  */
-
+/*
+ * Check for disk specific ioctls.
+ */
 static int
 disk_ioctl_switch(dev_t dev, u_long cmd, void *data)
 {



Home | Main Index | Thread Index | Old Index