aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/diskinfo/diskinfo.c
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-22 03:00:37 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-22 03:00:37 +0000
commitdb702c59cf2577cd10e82ed61282fef3e840f877 (patch)
treec45117cffaa16d0c405fe18e0a22e5a403277232 /usr.sbin/diskinfo/diskinfo.c
parent68ea9fd7d656aac31b647c15aa0867ba99bd0bb6 (diff)
downloadsrc-db702c59cf2577cd10e82ed61282fef3e840f877.tar.gz
src-db702c59cf2577cd10e82ed61282fef3e840f877.zip
Notes
Diffstat (limited to 'usr.sbin/diskinfo/diskinfo.c')
-rw-r--r--usr.sbin/diskinfo/diskinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/diskinfo/diskinfo.c b/usr.sbin/diskinfo/diskinfo.c
index fa234433fc18..90beba2339d1 100644
--- a/usr.sbin/diskinfo/diskinfo.c
+++ b/usr.sbin/diskinfo/diskinfo.c
@@ -339,7 +339,7 @@ speeddisk(int fd, off_t mediasize, u_int sectorsize)
TR(bulk * 1024);
printf("\tinside: ");
- b0 = sectorcount - bulk * (1024*1024 / sectorsize) - 1;;
+ b0 = sectorcount - bulk * (1024*1024 / sectorsize) - 1;
rdsect(fd, b0, sectorsize);
T0();
for (i = 0; i < bulk; i++) {