From 31998fdcd2bc7d5b4d05e5f7ef0cb0800ef978b4 Mon Sep 17 00:00:00 2001 From: faust3 Date: Sun, 9 May 2004 17:36:44 +0000 Subject: [PATCH] 10l git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12454 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libdha/dhahelperwin/dhasetup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libdha/dhahelperwin/dhasetup.c b/libdha/dhahelperwin/dhasetup.c index 378c5a2840..7113499961 100644 --- a/libdha/dhahelperwin/dhasetup.c +++ b/libdha/dhahelperwin/dhasetup.c @@ -21,9 +21,10 @@ int main(int argc,char* argv[]){ hSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS); if(!strcmp(argv[1],"install")){ printf("Installing dhahelper...\n"); - if(!CopyFile("dhahelper.sys",path,FALSE)) + if(!CopyFile("dhahelper.sys",path,FALSE)){ printf("Copying dhahelper.sys failed.\nEither dhahelper.sys is not in the current directory or you lack sufficient\nprivileges to write to %s.", path); return 1; + } // Install the driver hService = CreateService(hSCManager, "DHAHELPER",