diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-07-24 12:43:33 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-07-24 12:43:33 +0000 |
commit | 8d84e6a4e7a5f0bd3d0a76a78a589398b82682f5 (patch) | |
tree | 77fa066862bec61cd8ade1996d71b5fbc6e376ba /sys/dev/sdmmc | |
parent | 3fb25c97b24aa3b863512c9d00ae75e00876e349 (diff) |
Turning on various scsi drivers' *DEBUG options reveals that this has
rarely (if ever) been done.
Fix many printf format errors to calm clang and gcc on amd64, i386,
hppa. Missing #include, complaints if 'option <blah>DEBUG' is used in
config files, etc. All in debug code.
Diffstat (limited to 'sys/dev/sdmmc')
-rw-r--r-- | sys/dev/sdmmc/sdmmc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/sdmmc/sdmmc.c b/sys/dev/sdmmc/sdmmc.c index 83ea330d930..2e6d7d93854 100644 --- a/sys/dev/sdmmc/sdmmc.c +++ b/sys/dev/sdmmc/sdmmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdmmc.c,v 1.55 2020/05/13 17:31:16 cheloha Exp $ */ +/* $OpenBSD: sdmmc.c,v 1.56 2020/07/24 12:43:32 krw Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -31,6 +31,10 @@ #include <sys/systm.h> #include <sys/time.h> +#ifdef SDMMC_DEBUG +#include <sys/proc.h> +#endif + #include <scsi/scsi_all.h> #include <scsi/scsiconf.h> |