]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Sockets/GetNameInfo/GetNameInfo.c
Fix some errors detected by the GCC 4.4 compiler.
[mirror_edk2.git] / AppPkg / Applications / Sockets / GetNameInfo / GetNameInfo.c
index c9292e1fa70d588025480ec1332b79b59ad0721a..df5c2d6317d816e9ea57330707b9700da87d34c6 100644 (file)
@@ -97,7 +97,7 @@ main (
         //\r
         //  Display this entry\r
         //\r
-        printf ( "%s: HostName\r\n", mHostName[0]);\r
+        printf ( "%s: HostName\r\n", &mHostName[0]);\r
         printf ( "%s: Service Name\r\n", &mServiceName[0]);\r
 \r
         //\r