Print this page
10120 smatch indenting fixes for usr/src/cmd
Reviewed by: Gergő Doma <domag02@gmail.com>
Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>

@@ -28,10 +28,14 @@
  * Copyright 1985, 1993 by Mortice Kern Systems Inc.  All rights reserved.
  *
  */
 
 /*
+ * Copyright (c) 2018, Joyent, Inc.
+ */
+
+/*
  * getconf -- POSIX.2 compatible utility to query configuration specific
  *            parameters.
  *         -- XPG4 support added June/93
  *
  *         -- XPG5 support added Dec/97

@@ -934,11 +938,12 @@
 
                 /*
                  * sort the table by the "name" field
                  * so we print it in sorted order
                  */
-        qsort(&sctab[0], (sizeof (sctab)/sizeof (struct sctab))-1,
+                qsort(&sctab[0], (sizeof (sctab) /
+                    sizeof (struct sctab)) - 1,
             sizeof (struct sctab), namecmp);
 
                 /*
                  * print all the known symbols and their values
                  */