Minor changes. This program does NOT work in ROS.
Modified: trunk/rosapps/sysutils/lsdd/lsdd.c
_____
Modified: trunk/rosapps/sysutils/lsdd/lsdd.c
--- trunk/rosapps/sysutils/lsdd/lsdd.c 2005-09-25 13:56:45 UTC (rev
18053)
+++ trunk/rosapps/sysutils/lsdd/lsdd.c 2005-09-25 13:58:27 UTC (rev
18054)
@@ -1,6 +1,6 @@
/* $Id$
*
- * FILE : ldd.c
+ * FILE : lsdd.c
* AUTHOR: Emanuele ALIBERTI
* DATE : 2000-08-04
* DESC : List DOS devices, i.e. symbolic links created
@@ -21,6 +21,8 @@
#define LINKS_SIZE 32768
#define DEVICE_SIZE 8192
+static const LPWSTR error_prefix = L"lsdd: ";
+
static char SymbolicLinks [LINKS_SIZE];
static char DosDeviceName [DEVICE_SIZE];
@@ -57,7 +59,7 @@
main (int argc, char * argv [] )
{
printf (
- "ReactOS %s - List DOS Devices Utility\n"
+ "ReactOS/Win32 %s - List DOS Devices Utility\n"
"Written by E.Aliberti (%s)\n\n",
KERNEL_RELEASE_STR,
__DATE__
@@ -102,7 +104,7 @@
else
{
PrintWin32Error (
- L"ldd: ",
+ error_prefix,
GetLastError ()
);
}
@@ -112,7 +114,7 @@
else
{
PrintWin32Error (
- L"ldd: ",
+ error_prefix,
GetLastError ()
);
return EXIT_FAILURE;
Show replies by date