From: deraadt Date: Sun, 20 Jul 2014 18:10:15 +0000 (+0000) Subject: spacing glitches X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=681296963058d95c589e391d286966b182a91510;p=openbsd spacing glitches --- 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 * Copyright (c) 2008 Chris Kuethe @@ -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 */