diff --git a/reactos/base/applications/network/route/route.c b/reactos/base/applications/network/route/route.c index 066755e2373..722d84c64e9 100644 --- a/reactos/base/applications/network/route/route.c +++ b/reactos/base/applications/network/route/route.c @@ -12,9 +12,9 @@ */ #include +#include #include #include -#include #include #define IPBUF 17 @@ -23,13 +23,13 @@ static int Usage() { _ftprintf( stderr, - _T("route usage:\n" - "route print\n" - " prints the route table\n" - "route add [mask ] [metric ]\n" - " adds a route\n" - "route delete \n" - " deletes a route\n") ); + _T("route usage:\n") + _T("route print\n") + _T(" prints the route table\n") + _T("route add [mask ] [metric ]\n") + _T(" adds a route\n") + _T("route delete \n") + _T(" deletes a route\n") ); return 1; } @@ -87,11 +87,10 @@ static int PrintRoutes() /* FIXME - sort by the index! */ while (pAdapterInfo) { - _tprintf(_T("0x%lu ........................... " #ifdef UNICODE - "%hs\n"), + _tprintf(_T("0x%lu ........................... %hs\n"), #else - "%s\n"), + _tprintf(_T("0x%lu ........................... %s\n"), #endif pAdapterInfo->Index, pAdapterInfo->Description); pAdapterInfo = pAdapterInfo->Next; @@ -212,13 +211,13 @@ static int add_route( int argc, TCHAR **argv ) { if( argc < 2 || !convert_add_cmd_line( &RowToAdd, argc, argv ) ) { _ftprintf( stderr, - _T("route add usage:\n" - "route add [mask ] [metric ]\n" - " Adds a route to the IP route table.\n" - " is the network or host to add a route to.\n" - " is the netmask to use (autodetected if unspecified)\n" - " is the gateway to use to access the network\n" - " is the metric to use (lower is preferred)\n") ); + _T("route add usage:\n") + _T("route add [mask ] [metric ]\n") + _T(" Adds a route to the IP route table.\n") + _T(" is the network or host to add a route to.\n") + _T(" is the netmask to use (autodetected if unspecified)\n") + _T(" is the gateway to use to access the network\n") + _T(" is the metric to use (lower is preferred)\n") ); return 1; } @@ -237,11 +236,11 @@ static int del_route( int argc, TCHAR **argv ) if( argc < 2 || !convert_add_cmd_line( &RowToDel, argc, argv ) ) { _ftprintf( stderr, - _T("route delete usage:\n" - "route delete \n" - " Removes a route from the IP route table.\n" - " is the network or host to add a route to.\n" - " is the gateway to remove the route from.\n") ); + _T("route delete usage:\n") + _T("route delete \n") + _T(" Removes a route from the IP route table.\n") + _T(" is the network or host to add a route to.\n") + _T(" is the gateway to remove the route from.\n") ); return 1; }