summaryrefslogtreecommitdiff
path: root/usr/src/cmd/fmthard/fmthard.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2019-03-11 13:13:38 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2019-03-11 13:13:38 +0000
commitcbabb52cbef55dc12ac62bb5e5da7cc02cf114d2 (patch)
tree9b95d76ec1eaca7a5112c582f7f176891a918e1c /usr/src/cmd/fmthard/fmthard.c
parente790b92538e616017d45a87be045bccb1a3c8758 (diff)
parent36ac8d7d925ed80286cf13327142ca1fa6943fc3 (diff)
downloadillumos-joyent-cbabb52cbef55dc12ac62bb5e5da7cc02cf114d2.tar.gz
[illumos-gate merge]
commit 36ac8d7d925ed80286cf13327142ca1fa6943fc3 10119 audit(1) gets NULL check wrong commit dbef1f18aebff7758796283d40875419be721c2b 10510 loader: bios comc_probe() is out of sync with uefi version commit 7b38fab6300e0a1599b9741cfeafd94d362b87aa 9433 Fix ARC hit rate commit bc54f855e0de1e590115101c80f152a20722cfb0 10120 smatch indenting fixes for usr/src/cmd
Diffstat (limited to 'usr/src/cmd/fmthard/fmthard.c')
-rw-r--r--usr/src/cmd/fmthard/fmthard.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/cmd/fmthard/fmthard.c b/usr/src/cmd/fmthard/fmthard.c
index 98faee8db3..02577c1445 100644
--- a/usr/src/cmd/fmthard/fmthard.c
+++ b/usr/src/cmd/fmthard/fmthard.c
@@ -34,6 +34,9 @@
*/
/*
+ * Copyright (c) 2018, Joyent, Inc.
+ */
+/*
* Sun Microsystems version of fmthard:
*
* Supports the following arguments:
@@ -740,7 +743,7 @@ full size of disk. The full disk capacity is %llu sectors.\n", i, fullsz);
(vtoc->v_part[i].p_size % nblks)) {
(void) fprintf(stderr, "\
fmthard: Partition %d not aligned on cylinder boundary \n", i);
- exit(1);
+ exit(1);
}
if (vtoc->v_part[i].p_start > fullsz ||
vtoc->v_part[i].p_start +