diff --git a/c32ncp.c b/c32ncp.c index eb3d172..475e3f3 100644 --- a/c32ncp.c +++ b/c32ncp.c @@ -269,7 +269,7 @@ int c32_ncp87_modify_dos_attributes(char *name, *p++ = 0; /* namespace DOS */ *p++ = 0; /* reserved */ c32_put_word_lh(p, 0x0006); p += 2; /* SA_ALL */ - c32_put_dword_lh(p, 0x00000004UL); p += 4; /* modify mask: attributes */ + c32_put_dword_lh(p, 0x00000002UL); p += 4; /* DM_ATTRIBUTES: attributes */ c32_put_dword_lh(p, attrs); p += 4; /* Attributes */ memset(p, 0, 34); p += 34; /* rest of DOS info */