summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/DevicePathDxe
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-11 02:33:16 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-11 02:33:16 +0000
commit4140a6635b4784db9d0125e96d521d01053eca2c (patch)
treeda415c19d57ca7546058a8f99c513708eaaf6e4a /MdeModulePkg/Universal/DevicePathDxe
parent548dda8f74d70893f9d44708b4a0b9fcbc4e2d83 (diff)
downloadedk2-4140a6635b4784db9d0125e96d521d01053eca2c.tar.gz
edk2-4140a6635b4784db9d0125e96d521d01053eca2c.tar.bz2
edk2-4140a6635b4784db9d0125e96d521d01053eca2c.zip
Coding style fix and minor improvements.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9977 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DevicePathDxe')
-rw-r--r--MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c b/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c
index 82789c1d51..44689504df 100644
--- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c
+++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c
@@ -910,7 +910,7 @@ DevPathToTextSata (
SATA_DEVICE_PATH *Sata;
Sata = DevPath;
- if (Sata->PortMultiplierPortNumber & SATA_HBA_DIRECT_CONNECT_FLAG) {
+ if ((Sata->PortMultiplierPortNumber & SATA_HBA_DIRECT_CONNECT_FLAG) != 0) {
CatPrint (
Str,
L"Sata(0x%x,0x%x)",