From cf929c02811af8d243e0c74b977fa23bef9c0449 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Mon, 11 Dec 2006 23:42:34 +0000 Subject: use oct bits consistently in the format string for %b. pointed out by deraadt@ --- sys/dev/pci/ahci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/dev/pci/ahci.c b/sys/dev/pci/ahci.c index efdb7893dab..f48566208e1 100644 --- a/sys/dev/pci/ahci.c +++ b/sys/dev/pci/ahci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahci.c,v 1.20 2006/12/11 13:20:29 dlg Exp $ */ +/* $OpenBSD: ahci.c,v 1.21 2006/12/11 23:42:33 dlg Exp $ */ /* * Copyright (c) 2006 David Gwynne @@ -69,8 +69,8 @@ int ahcidebug = AHCI_D_VERBOSE; #define AHCI_FMT_CAP "\020" "\006SXS" "\007EMS" "\010CCCS" \ "\016PSC" "\017SSC" "\020PMD" "\021FBSS" \ - "\x12SPM" "\x13SAM" "\x14SNZO" "\x19SCLO" \ - "\x1aSAL" "\x1bSALP" "\x1cSSS" "\x1dSMPS" \ + "\022SPM" "\023SAM" "\024SNZO" "\031SCLO" \ + "\032SAL" "\033SALP" "\034SSS" "\035SMPS" \ "\036SSNTF" "\037NCQ" "\040S64A" #define AHCI_REG_GHC 0x004 /* Global HBA Control */ -- cgit v1.2.3