VirtualBox

Changeset 50694 in vbox


Ignore:
Timestamp:
Mar 5, 2014 10:03:03 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92645
Message:

a few unimportant format string fixes

Location:
trunk/src/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstHandleTable.cpp

    r48935 r50694  
    55
    66/*
    7  * Copyright (C) 2008-2011 Oracle Corporation
     7 * Copyright (C) 2008-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    120120    if (fCallbacks && cRetainerCalls != 0)
    121121    {
    122         RTPrintf("tstHandleTable: FAILURE (%d) - cRetainerCalls=%#x expected 0!\n", __LINE__, i, cRetainerCalls);
     122        RTPrintf("tstHandleTable: FAILURE (%d) - cRetainerCalls=%#x expected 0!\n", __LINE__, cRetainerCalls);
    123123        g_cErrors++;
    124124    }
     
    244244                {
    245245                    RTPrintf("\ntstHandleTable: FAILURE (%d) - i=%d, j=%d, RTHandleTableLookupWithCtx: succeeded with bad context\n",
    246                              __LINE__, i, j, pvObj, pvExpect);
     246                             __LINE__, i, j);
    247247                    g_cErrors++;
    248248                }
  • trunk/src/VBox/Runtime/testcase/tstMemAutoPtr.cpp

    r44528 r50694  
    55
    66/*
    7  * Copyright (C) 2008-2011 Oracle Corporation
     7 * Copyright (C) 2008-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    101101    if (aMem == NULL)
    102102    {
    103         RTPrintf("tstMemAutoPtr(%d): Destructor called with NILL handle!\n");
     103        RTPrintf("tstMemAutoPtr(): Destructor called with NULL handle!\n");
    104104        g_cErrors++;
    105105    }
    106106    else if (!VALID_PTR(aMem))
    107107    {
    108         RTPrintf("tstMemAutoPtr(%d): Destructor called with a bad handle %p\n", aMem);
     108        RTPrintf("tstMemAutoPtr(): Destructor called with a bad handle %p\n", aMem);
    109109        g_cErrors++;
    110110    }
  • trunk/src/VBox/VMM/testcase/tstGlobalConfig.cpp

    r44529 r50694  
    55
    66/*
    7  * Copyright (C) 2007-2012 Oracle Corporation
     7 * Copyright (C) 2007-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    7070    if (cch >= sizeof(Req.szName))
    7171    {
    72         RTPrintf("syntax error: the name is too long. (max %zu chars)\n", argv[1], sizeof(Req.szName) - 1);
     72        RTPrintf("syntax error: the name '%s' is too long. (max %zu chars)\n", argv[1], sizeof(Req.szName) - 1);
    7373        return 1;
    7474    }
  • trunk/src/VBox/VMM/testcase/tstInstrEmul.cpp

    r44528 r50694  
    55
    66/*
    7  * Copyright (C) 2006-2011 Oracle Corporation
     7 * Copyright (C) 2006-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    5151        ||  val != UINT64_C(0x200000001))
    5252    {
    53         RTPrintf("tstInstrEmul: FAILURE - Lock cmpxchg8b failed the equal case! (val=%x%x)\n", val);
     53        RTPrintf("tstInstrEmul: FAILURE - Lock cmpxchg8b failed the equal case! (val=%RX64)\n", val);
    5454        return 1;
    5555    }
     
    6060        ||  edx != 0x1)
    6161    {
    62         RTPrintf("tstInstrEmul: FAILURE - Lock cmpxchg8b failed the non-equal case! (val=%x%x)\n", val);
     62        RTPrintf("tstInstrEmul: FAILURE - Lock cmpxchg8b failed the non-equal case! (val=%RX64)\n", val);
    6363        return 1;
    6464    }
     
    7474        ||  val != UINT64_C(0x200000001))
    7575    {
    76         RTPrintf("tstInstrEmul: FAILURE - Cmpxchg8b failed the equal case! (val=%x%x)\n", val);
     76        RTPrintf("tstInstrEmul: FAILURE - Cmpxchg8b failed the equal case! (val=%RX64)\n", val);
    7777        return 1;
    7878    }
     
    8383        ||  edx != 0x1)
    8484    {
    85         RTPrintf("tstInstrEmul: FAILURE - Cmpxchg8b failed the non-equal case! (val=%x%x)\n", val);
     85        RTPrintf("tstInstrEmul: FAILURE - Cmpxchg8b failed the non-equal case! (val=%RX64)\n", val);
    8686        return 1;
    8787    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette