diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-09 17:36:44 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-09 17:36:44 +0000 |
commit | 31998fdcd2bc7d5b4d05e5f7ef0cb0800ef978b4 (patch) | |
tree | 6e1415a9332da91cc8eda555c833a392f2b054ee /libdha | |
parent | cb8bc5d47a55da8e86c673683b1626c6e00a2125 (diff) | |
download | mpv-31998fdcd2bc7d5b4d05e5f7ef0cb0800ef978b4.tar.bz2 mpv-31998fdcd2bc7d5b4d05e5f7ef0cb0800ef978b4.tar.xz |
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12454 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha')
-rw-r--r-- | libdha/dhahelperwin/dhasetup.c | 3 |
1 files changed, 2 insertions, 1 deletions
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", |