mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
(__xmknodat): Cast k_dev value to unsigned int to match kernel.
This commit is contained in:
@@ -55,7 +55,8 @@ __xmknodat (int vers, int fd, const char *file, mode_t mode, dev_t *dev)
|
|||||||
if (__have_atfcts >= 0)
|
if (__have_atfcts >= 0)
|
||||||
# endif
|
# endif
|
||||||
{
|
{
|
||||||
int res = INLINE_SYSCALL (mknodat, 4, fd, file, mode, k_dev);
|
int res = INLINE_SYSCALL (mknodat, 4, fd, file, mode,
|
||||||
|
(unsigned int) k_dev);
|
||||||
# ifndef __ASSUME_ATFCTS
|
# ifndef __ASSUME_ATFCTS
|
||||||
if (res == -1 && errno == ENOSYS)
|
if (res == -1 && errno == ENOSYS)
|
||||||
__have_atfcts = -1;
|
__have_atfcts = -1;
|
||||||
|
Reference in New Issue
Block a user