artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dfd71d
)
Nuke stray/pointless 'volatile' for local var.
author
krw
<krw@openbsd.org>
Sat, 11 Aug 2018 18:37:21 +0000
(18:37 +0000)
committer
krw
<krw@openbsd.org>
Sat, 11 Aug 2018 18:37:21 +0000
(18:37 +0000)
sbin/disklabel/disklabel.c
patch
|
blob
|
history
diff --git
a/sbin/disklabel/disklabel.c
b/sbin/disklabel/disklabel.c
index
9a9f413
..
e1cda9e
100644
(file)
--- a/
sbin/disklabel/disklabel.c
+++ b/
sbin/disklabel/disklabel.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: disklabel.c,v 1.2
29 2018/07/03 06:42:13
krw Exp $ */
+/* $OpenBSD: disklabel.c,v 1.2
30 2018/08/11 18:37:21
krw Exp $ */
/*
* Copyright (c) 1987, 1993
@@
-517,7
+517,7
@@
scale(u_int64_t sz, char unit, struct disklabel *lp)
void
display_partition(FILE *f, struct disklabel *lp, int i, char unit)
{
-
volatile
struct partition *pp = &lp->d_partitions[i];
+ struct partition *pp = &lp->d_partitions[i];
double p_size;
p_size = scale(DL_GETPSIZE(pp), unit, lp);