]> sourceware.org Git - glibc.git/commitdiff
(__xmknodat): Cast k_dev value to unsigned int to match kernel.
authorUlrich Drepper <drepper@redhat.com>
Sat, 21 Jan 2006 01:51:04 +0000 (01:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 21 Jan 2006 01:51:04 +0000 (01:51 +0000)
sysdeps/unix/sysv/linux/xmknodat.c

index d6cb4ed1be0ca6864e8e43aa53ed94bde25c7f60..ef27b686cc29bc3b6ce6afc0f49ec186d7740235 100644 (file)
@@ -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;
This page took 0.603513 seconds and 5 git commands to generate.