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,37 ****
--- 28,41 ----
* 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,944 ****
/*
* sort the table by the "name" field
* so we print it in sorted order
*/
! qsort(&sctab[0], (sizeof (sctab)/sizeof (struct sctab))-1,
sizeof (struct sctab), namecmp);
/*
* print all the known symbols and their values
*/
--- 938,949 ----
/*
* sort the table by the "name" field
* so we print it in sorted order
*/
! qsort(&sctab[0], (sizeof (sctab) /
! sizeof (struct sctab)) - 1,
sizeof (struct sctab), namecmp);
/*
* print all the known symbols and their values
*/