summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-20 18:10:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-20 18:10:16 +0000
commitd9fb12c2b4be35d396fc245c7f424bdbed138570 (patch)
tree90f6fbf2708dfb2bda870c157d9f390a441042da /sys/dev/softraid.c
parentad565bceb8ca19ce4829d43807c64bfaef0876aa (diff)
spacing glitches
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index 5c31f51fd8d..eea72614f22 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.336 2014/07/20 18:05:21 mlarkin Exp $ */
+/* $OpenBSD: softraid.c,v 1.337 2014/07/20 18:10:15 deraadt Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -5004,7 +5004,7 @@ sr_hibernate_io(dev_t dev, daddr_t blkno, vaddr_t addr, size_t size, int op, voi
char pad[3072];
struct sr_discipline *srd;
hibio_fn subfn; /* underlying device i/o fn */
- dev_t subdev; /* underlying device dev_t */
+ dev_t subdev; /* underlying device dev_t */
daddr_t sr_swapoff; /* ofs of swap part in sr volume */
char buf[DEV_BSIZE]; /* encryption performed into this buf */
} *my = page;
@@ -5069,7 +5069,7 @@ sr_hibernate_io(dev_t dev, daddr_t blkno, vaddr_t addr, size_t size, int op, voi
/* Find the offset of the SR part in the underlying device */
sub_raidoff = my->srd->sd_meta->ssd_data_offset +
- DL_GETPOFFSET(&dl.d_partitions[DISKPART(my->subdev)]);
+ DL_GETPOFFSET(&dl.d_partitions[DISKPART(my->subdev)]);
DNPRINTF(SR_D_MISC,"sr_hibernate_io: blk trans ofs: %d blks\n",
sub_raidoff);
@@ -5125,8 +5125,7 @@ sr_hibernate_io(dev_t dev, daddr_t blkno, vaddr_t addr, size_t size, int op, voi
if (res != 0)
return (res);
key_blkno++;
- }
-
+ }
return (0);
}
#endif /* HIBERNATE */