projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3272e9
)
(__xmknodat): Cast k_dev value to unsigned int to match kernel.
author
Ulrich Drepper
<drepper@redhat.com>
Sat, 21 Jan 2006 01:51:04 +0000
(
01:51
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sat, 21 Jan 2006 01:51:04 +0000
(
01:51
+0000)
sysdeps/unix/sysv/linux/xmknodat.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/xmknodat.c
b/sysdeps/unix/sysv/linux/xmknodat.c
index
d6cb4ed
..
ef27b68
100644
(file)
--- a/
sysdeps/unix/sysv/linux/xmknodat.c
+++ b/
sysdeps/unix/sysv/linux/xmknodat.c
@@
-55,7
+55,8
@@
__xmknodat (int vers, int fd, const char *file, mode_t mode, dev_t *dev)
if (__have_atfcts >= 0)
# 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
if (res == -1 && errno == ENOSYS)
__have_atfcts = -1;