-/* $OpenBSD: diskprobe.c,v 1.18 2017/06/19 22:50:50 deraadt Exp $ */
+/* $OpenBSD: diskprobe.c,v 1.19 2017/06/22 01:26:28 deraadt Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
(sizeof(union hibernate_info) / DEV_BSIZE);
error = dip->strategy(dip, F_READ, (daddr32_t)sec, sizeof hib, &hib, NULL);
- if (error == 0 && hib.magic == HIBERNATE_MAGIC) /* Hibernate present */
+ if (error == 0 && hib.magic == HIBERNATE_MAGIC) {
+ /* Hibernate present */
dip->bios_info.flags |= BDI_HIBVALID;
- printf("&");
+ printf("&");
+ }
}
-/* $OpenBSD: diskprobe.c,v 1.42 2017/06/19 22:50:50 deraadt Exp $ */
+/* $OpenBSD: diskprobe.c,v 1.43 2017/06/22 01:26:28 deraadt Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
(sizeof(union hibernate_info) / DEV_BSIZE);
error = dip->strategy(dip, F_READ, (daddr32_t)sec, sizeof hib, &hib, NULL);
- if (error == 0 && hib.magic == HIBERNATE_MAGIC) /* Hibernate present */
+ if (error == 0 && hib.magic == HIBERNATE_MAGIC) {
+ /* Hibernate present */
dip->bios_info.flags |= BDI_HIBVALID;
- printf("&");
+ printf("&");
+ }
}