summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-03-27 18:20:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-03-27 18:20:04 +0000
commit92416bdfae6bd8fc7de71d7839e6b1578da64d65 (patch)
treee60623143945c3e2f1852f83ba1309c886597694 /sys
parent5fcd9e7a32af3dfd5570ac08b9f951c08bf187fa (diff)
fix indentation
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/hibernate_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/hibernate_machdep.c b/sys/arch/i386/i386/hibernate_machdep.c
index 4cfaa54f3a0..5df2656cd20 100644
--- a/sys/arch/i386/i386/hibernate_machdep.c
+++ b/sys/arch/i386/i386/hibernate_machdep.c
@@ -79,14 +79,14 @@ get_hibernate_io_function(void)
if (strcmp(findblkname(major(swdevt[0].sw_dev)), "sd") == 0) {
extern struct cfdriver sd_cd;
extern int ahci_hibernate_io(dev_t dev, daddr_t blkno,
- vaddr_t addr, size_t size, int wr, void *page);
+ vaddr_t addr, size_t size, int op, void *page);
struct device *dv;
dv = disk_lookup(&sd_cd, DISKUNIT(swdevt[0].sw_dev));
if (dv && dv->dv_parent && dv->dv_parent->dv_parent &&
strcmp(dv->dv_parent->dv_parent->dv_cfdata->cf_driver->cd_name,
"ahci") == 0)
- return ahci_hibernate_io;
+ return ahci_hibernate_io;
}
#endif
return NULL;