summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ucodeadm/ucodeadm.c
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-19 18:10:14 +0000
committerJohn Levon <john.levon@joyent.com>2019-03-08 15:59:03 +0000
commitbc54f855e0de1e590115101c80f152a20722cfb0 (patch)
tree27cff7229dcd40fe061477176fc30ca00a6656f7 /usr/src/cmd/ucodeadm/ucodeadm.c
parent8f5edf1f887948e6be5982cbe7f196909927af91 (diff)
downloadillumos-joyent-bc54f855e0de1e590115101c80f152a20722cfb0.tar.gz
10120 smatch indenting fixes for usr/src/cmd
Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/cmd/ucodeadm/ucodeadm.c')
-rw-r--r--usr/src/cmd/ucodeadm/ucodeadm.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/usr/src/cmd/ucodeadm/ucodeadm.c b/usr/src/cmd/ucodeadm/ucodeadm.c
index 1ff85bcf0d..67a7bae882 100644
--- a/usr/src/cmd/ucodeadm/ucodeadm.c
+++ b/usr/src/cmd/ucodeadm/ucodeadm.c
@@ -23,6 +23,10 @@
* Use is subject to license terms.
*/
+/*
+ * Copyright (c) 2018, Joyent, Inc.
+ */
+
#include <sys/types.h>
#include <sys/processor.h>
#include <sys/ucode.h>
@@ -668,9 +672,9 @@ main(int argc, char *argv[])
uint32_t *revp = NULL;
int i;
#if defined(_SYSCALL32_IMPL)
- struct ucode_get_rev_struct32 inf32;
+ struct ucode_get_rev_struct32 inf32;
#else
- struct ucode_get_rev_struct info;
+ struct ucode_get_rev_struct info;
#endif
cpuid_max = (processorid_t)sysconf(_SC_CPUID_MAX);
@@ -721,9 +725,9 @@ main(int argc, char *argv[])
if (action & UCODE_OPT_UPDATE) {
int tmprc;
#if defined(_SYSCALL32_IMPL)
- struct ucode_write_struct32 uw_struct32;
+ struct ucode_write_struct32 uw_struct32;
#else
- struct ucode_write_struct uw_struct;
+ struct ucode_write_struct uw_struct;
#endif
#if defined(_SYSCALL32_IMPL)