summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2013-11-06 00:52:47 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2013-11-06 00:52:47 +0000
commit1fb98cfbc3eb75dd431e45645c9a026cdcd8352f (patch)
tree10fc5a2e1ee1bbbfb6e8338811e9287cd083d495
parent25d541a566b9368285b8b1554da056153bd49815 (diff)
Errant assignment that snuck in long ago. Pointed out by deraadt@
-rw-r--r--sys/kern/subr_hibernate.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/subr_hibernate.c b/sys/kern/subr_hibernate.c
index aaaa7700b81..ad81b9baf1f 100644
--- a/sys/kern/subr_hibernate.c
+++ b/sys/kern/subr_hibernate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_hibernate.c,v 1.69 2013/11/05 07:38:26 mlarkin Exp $ */
+/* $OpenBSD: subr_hibernate.c,v 1.70 2013/11/06 00:52:46 mlarkin Exp $ */
/*
* Copyright (c) 2011 Ariane van der Steldt <ariane@stack.nl>
@@ -1676,8 +1676,6 @@ hibernate_read_image(union hibernate_info *hiber_info)
/* Calculate image extents. Pig image must end on a chunk boundary. */
image_end = pig_end & ~(HIBERNATE_CHUNK_SIZE - 1);
- image_start = pig_start;
-
image_start = image_end - disk_size;
hibernate_read_chunks(hiber_info, image_start, image_end, disk_size,