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>


   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 2014 Gary Mills
  24  *
  25  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  26  * Use is subject to license terms.


  27  */
  28 
  29 #include <limits.h>
  30 #include <stdio.h>
  31 #include <stdlib.h>
  32 #include <string.h>
  33 #include <libintl.h>
  34 #include <libfru.h>
  35 #include <errno.h>
  36 #include <math.h>
  37 #include <alloca.h>
  38 #include <assert.h>
  39 #include <sys/systeminfo.h>
  40 
  41 #define NUM_OF_SEGMENT  1
  42 #define SEGMENT_NAME_SIZE       2
  43 
  44 #define FD_SEGMENT_SIZE 2949
  45 
  46 static char  *command, *customer_data = NULL, *frupath = NULL, **svcargv;




   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 2014 Gary Mills
  24  *
  25  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  26  * Use is subject to license terms.
  27  *
  28  * Copyright (c) 2018, Joyent, Inc.
  29  */
  30 
  31 #include <limits.h>
  32 #include <stdio.h>
  33 #include <stdlib.h>
  34 #include <string.h>
  35 #include <libintl.h>
  36 #include <libfru.h>
  37 #include <errno.h>
  38 #include <math.h>
  39 #include <alloca.h>
  40 #include <assert.h>
  41 #include <sys/systeminfo.h>
  42 
  43 #define NUM_OF_SEGMENT  1
  44 #define SEGMENT_NAME_SIZE       2
  45 
  46 #define FD_SEGMENT_SIZE 2949
  47 
  48 static char  *command, *customer_data = NULL, *frupath = NULL, **svcargv;