diff --git a/reactos/tools/sysreg/namedpipe_reader.cpp b/reactos/tools/sysreg/namedpipe_reader.cpp index 841c96f640f..50a3b9b59fa 100644 --- a/reactos/tools/sysreg/namedpipe_reader.cpp +++ b/reactos/tools/sysreg/namedpipe_reader.cpp @@ -80,7 +80,7 @@ namespace System_ return true; } #else - h_Pipe = open("PipeCmd.c_str()", O_RDONLY); + h_Pipe = open(PipeCmd.c_str(), O_RDONLY); if(INVALID_HANDLE_VALUE == h_Pipe) { cerr << "NamedPipeReader::openPipe> failed to open pipe " << PipeCmd << endl; diff --git a/reactos/tools/sysreg/sysreg.mak b/reactos/tools/sysreg/sysreg.mak index 6ce9257fa25..ac3ef21088a 100644 --- a/reactos/tools/sysreg/sysreg.mak +++ b/reactos/tools/sysreg/sysreg.mak @@ -34,9 +34,9 @@ SYSREGBUILD_OBJECTS = \ ifeq ($(HOST),mingw32-linux) -SYSREGBUILD_HOST_CFLAGS = $(TOOLS_CPPFLAGS) -D__LINUX__ +SYSREGBUILD_HOST_CFLAGS = $(TOOLS_CPPFLAGS) -D__LINUX__ -Wall else -SYSREGBUILD_HOST_CFLAGS = $(TOOLS_CPPFLAGS) -D__USE_W32API -Iinclude -Iinclude/reactos -Iinclude/psdk -Iinclude$(SEP)crt -Iinclude/reactos/libs -I$(INTERMEDIATE_)$(SEP)include$(SEP)psdk +SYSREGBUILD_HOST_CFLAGS = $(TOOLS_CPPFLAGS) -D__USE_W32API -Iinclude -Iinclude/reactos -Iinclude/psdk -Iinclude$(SEP)crt -Iinclude/reactos/libs -I$(INTERMEDIATE_)$(SEP)include$(SEP)psdk -Wall endif SYSREGBUILD_HOST_LFLAGS = $(TOOLS_LFLAGS) diff --git a/reactos/tools/sysreg/txtmode.cfg b/reactos/tools/sysreg/txtmode.cfg index be6b24cafba..682cf0b1a55 100644 --- a/reactos/tools/sysreg/txtmode.cfg +++ b/reactos/tools/sysreg/txtmode.cfg @@ -10,8 +10,8 @@ ROS_EMU_TYPE=qemu ; ; This variable sets the path to the emulator ; -;ROS_EMU_PATH=E:\reactos\qemu\qemu.exe -ROS_EMU_PATH=/usr/bin/qemu +ROS_EMU_PATH=E:\reactos\qemu\qemu.exe +;ROS_EMU_PATH=/usr/bin/qemu ; ROS_HDD_IMAGE ;