diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-18 05:28:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-18 05:28:55 +0000 |
commit | e8db6dbe040603200d603297be6ea7d62210b4c5 (patch) | |
tree | 1c4c29dd0a3871146f1e766c8efe17758dee2dfe | |
parent | c48c6a43031eed3fd9a38082e116ea2095732f1a (diff) |
using same words in similar code sequences is good
-rw-r--r-- | sys/arch/luna88k/luna88k/disksubr.c | 6 | ||||
-rw-r--r-- | sys/arch/sparc/sparc/disksubr.c | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/disksubr.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/luna88k/luna88k/disksubr.c b/sys/arch/luna88k/luna88k/disksubr.c index b09a74d8916..bb91d3e4480 100644 --- a/sys/arch/luna88k/luna88k/disksubr.c +++ b/sys/arch/luna88k/luna88k/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.30 2007/06/17 00:27:28 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.31 2007/06/18 05:28:54 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.12 2002/02/19 17:09:44 wiz Exp $ */ /* @@ -116,7 +116,7 @@ readdisklabel(dev_t dev, void (*strat)(struct buf *), if ((msg = initdisklabel(lp))) goto done; - /* obtain buffer to probe drive with */ + /* get a buffer and initialize it */ bp = geteblk((int)lp->d_secsize); bp->b_dev = dev; @@ -194,7 +194,7 @@ writedisklabel(dev_t dev, void (*strat)(struct buf *), if (error) goto done; - /* Get a buffer and copy the new label into it. */ + /* get a buffer and initialize it */ bp = geteblk((int)lp->d_secsize); bcopy(clp->cd_block, bp->b_data, sizeof(clp->cd_block)); diff --git a/sys/arch/sparc/sparc/disksubr.c b/sys/arch/sparc/sparc/disksubr.c index 79d1b2fabec..e3f5a75d67a 100644 --- a/sys/arch/sparc/sparc/disksubr.c +++ b/sys/arch/sparc/sparc/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.65 2007/06/18 02:14:17 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.66 2007/06/18 05:28:54 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.16 1996/04/28 20:25:59 thorpej Exp $ */ /* @@ -96,7 +96,7 @@ readdisklabel(dev_t dev, void (*strat)(struct buf *), } #endif /* NCD > 0 */ - /* obtain buffer and initialize it */ + /* get buffer and initialize it */ bp = geteblk((int)lp->d_secsize); bp->b_dev = dev; @@ -163,7 +163,7 @@ writedisklabel(dev_t dev, void (*strat)(struct buf *), struct buf *bp = NULL; int error; - /* obtain buffer and initialize it */ + /* get buffer and initialize it */ bp = geteblk((int)lp->d_secsize); bp->b_dev = dev; diff --git a/sys/arch/sparc64/sparc64/disksubr.c b/sys/arch/sparc64/sparc64/disksubr.c index 7b166e37fc5..20112d9edc8 100644 --- a/sys/arch/sparc64/sparc64/disksubr.c +++ b/sys/arch/sparc64/sparc64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.44 2007/06/18 02:14:17 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.45 2007/06/18 05:28:54 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.13 2000/12/17 22:39:18 pk Exp $ */ /* @@ -89,7 +89,7 @@ readdisklabel(dev_t dev, void (*strat)(struct buf *), } #endif /* NCD > 0 */ - /* obtain buffer and initialize it */ + /* get buffer and initialize it */ bp = geteblk((int)lp->d_secsize); bp->b_dev = dev; @@ -153,7 +153,7 @@ writedisklabel(dev_t dev, void (*strat)(struct buf *), struct buf *bp = NULL; int error; - /* obtain buffer and initialize it */ + /* get buffer and initialize it */ bp = geteblk((int)lp->d_secsize); bp->b_dev = dev; |