projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CRT]
[reactos.git]
/
reactos
/
lib
/
sdk
/
crt
/
wine
/
heap.c
diff --git
a/reactos/lib/sdk/crt/wine/heap.c
b/reactos/lib/sdk/crt/wine/heap.c
index
b72f63f
..
8ee2d1b
100644
(file)
--- a/
reactos/lib/sdk/crt/wine/heap.c
+++ b/
reactos/lib/sdk/crt/wine/heap.c
@@
-603,8
+603,7
@@
int CDECL strncpy_s(char *dest, size_t numberOfElements,
return 0;
}
- MSVCRT_INVALID_PMT("dest[numberOfElements] is too small");
+ MSVCRT_INVALID_PMT("dest[numberOfElements] is too small"
, EINVAL
);
dest[0] = '\0';
- *_errno() = EINVAL;
return EINVAL;
}