[haiku-commits] r39532 - haiku/trunk/src/system/boot/platform/atari_m68k

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 20 Nov 2010 05:29:12 +0100 (CET)

Author: mmu_man
Date: 2010-11-20 05:29:12 +0100 (Sat, 20 Nov 2010)
New Revision: 39532
Changeset: http://dev.haiku-os.org/changeset/39532

Modified:
   haiku/trunk/src/system/boot/platform/atari_m68k/toscalls.cpp
Log:
Print natfeat IDs as hex.


Modified: haiku/trunk/src/system/boot/platform/atari_m68k/toscalls.cpp
===================================================================
--- haiku/trunk/src/system/boot/platform/atari_m68k/toscalls.cpp        
2010-11-20 04:28:44 UTC (rev 39531)
+++ haiku/trunk/src/system/boot/platform/atari_m68k/toscalls.cpp        
2010-11-20 04:29:12 UTC (rev 39532)
@@ -216,7 +216,7 @@
        if (nat_features()) {
                // find debugprintf id
                gDebugPrintfNatFeatID = nat_feat_getid("DEBUGPRINTF");
-               dprintf("DEBUGPRINTF natfeat id %d\n", gDebugPrintfNatFeatID);
+               dprintf("DEBUGPRINTF natfeat id 0x%08lx\n", 
gDebugPrintfNatFeatID);
                // pass native features infos to the kernel
                gKernelArgs.arch_args.plat_args.atari.nat_feat.nf_get_id =
                        nat_features()->nfGetID;
@@ -226,7 +226,7 @@
                        gDebugPrintfNatFeatID;
                // find other natfeat ids
                gBootstrapNatFeatID = nat_feat_getid("BOOTSTRAP");
-               dprintf("BOOTSTRAP natfeat id %d\n", gBootstrapNatFeatID);
+               dprintf("BOOTSTRAP natfeat id 0x%08lx\n", gBootstrapNatFeatID);
        }
        return nat_features() ? B_OK : B_ENTRY_NOT_FOUND;
 }


Other related posts:

  • » [haiku-commits] r39532 - haiku/trunk/src/system/boot/platform/atari_m68k - revol