1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

(__xmknodat): Cast k_dev value to unsigned int to match kernel.

This commit is contained in:
Ulrich Drepper
2006-01-21 01:51:04 +00:00
parent c3272e9ed3
commit e6c8af451f

View File

@@ -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;