VirtualBox

Ignore:
Timestamp:
Sep 5, 2011 1:49:45 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73843
Message:

*,IPRT: Redid the ring-3 init to always convert the arguments to UTF-8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp

    r36469 r38636  
    3131#include <iprt/getopt.h>
    3232#include <iprt/initterm.h>
     33#include <iprt/message.h>
    3334#include <iprt/param.h>
    3435#include <iprt/path.h>
     
    20382039int main(int argc, char **argv, char **envp)
    20392040{
    2040     int rc = RTR3InitAndSUPLib();
     2041    int rc = RTR3InitExe(argc, &argv, RTR3INIT_FLAGS_SUPLIB);
    20412042    if (RT_FAILURE(rc))
    2042     {
    2043         RTStrmPrintf(g_pStdErr, "VBoxNetDHCP: RTR3InitAndSupLib failed, rc=%Rrc\n", rc);
    2044         return 1;
    2045     }
     2043        return RTMsgInitFailure(rc);
    20462044
    20472045    return TrustedMain(argc, argv, envp);
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