Author: marcel
Date: Wed Mar 16 00:08:10 2011
New Revision: 219683
URL: http://svn.freebsd.org/changeset/base/219683

Log:
  Revert previous commit: EFI_STATUS is a 64-bit integral on ia64. Fix the
  compile warning on i386 (where EFI_STATUS is a 32-bit integral) by casting
  the status argument to u_long instead.
  
  Pointy hat: brucec
  MFC after: 3 days

Modified:
  head/sys/boot/efi/libefi/efipart.c

Modified: head/sys/boot/efi/libefi/efipart.c
==============================================================================
--- head/sys/boot/efi/libefi/efipart.c  Tue Mar 15 23:51:47 2011        
(r219682)
+++ head/sys/boot/efi/libefi/efipart.c  Wed Mar 16 00:08:10 2011        
(r219683)
@@ -204,7 +204,7 @@ efipart_readwrite(EFI_BLOCK_IO *blkio, i
        }
 
        if (EFI_ERROR(status))
-               printf("%s: rw=%d, status=%u\n", __func__, rw, status);
+               printf("%s: rw=%d, status=%lu\n", __func__, rw, (u_long)status);
        return (efi_status_to_errno(status));
 }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to