test NSDMMC not SDMMC
authorjsg <jsg@openbsd.org>
Tue, 17 Jan 2023 23:12:37 +0000 (23:12 +0000)
committerjsg <jsg@openbsd.org>
Tue, 17 Jan 2023 23:12:37 +0000 (23:12 +0000)
ok miod@ deraadt@

sys/arch/i386/i386/hibernate_machdep.c

index 2b8b74c..0e902cf 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: hibernate_machdep.c,v 1.59 2022/09/02 12:46:18 mlarkin Exp $  */
+/*     $OpenBSD: hibernate_machdep.c,v 1.60 2023/01/17 23:12:37 jsg Exp $      */
 
 /*
  * Copyright (c) 2011 Mike Larkin <mlarkin@openbsd.org>
@@ -110,7 +110,7 @@ get_hibernate_io_function(dev_t dev)
 #if NSOFTRAID > 0
                        { "softraid", sr_hibernate_io },
 #endif
-#if SDMMC > 0
+#if NSDMMC > 0
                        { "sdmmc", sdmmc_scsi_hibernate_io },
 #endif
                };