setupapi: Fix access rights for cabinet creation.

This commit is contained in:
Alexandre Julliard 2011-02-02 18:11:36 +01:00
parent 181beef870
commit fcf8e164c3
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ static INT_PTR CDECL sc_cb_open(char *pszFile, int oflag, int pmode)
ioflag |= GENERIC_WRITE;
break;
case _O_RDWR:
ioflag |= GENERIC_READ & GENERIC_WRITE;
ioflag |= GENERIC_READ | GENERIC_WRITE;
break;
case _O_WRONLY | _O_RDWR: /* hmmm.. */
ERR("_O_WRONLY & _O_RDWR in oflag?\n");