summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
Diffstat (limited to 'trans')
-rw-r--r--trans/fakeroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/fakeroot.c b/trans/fakeroot.c
index 6ef933274..7313a98e2 100644
--- a/trans/fakeroot.c
+++ b/trans/fakeroot.c
@@ -659,7 +659,7 @@ netfs_attempt_mkdev (struct iouser *cred, struct node *np,
char *trans = 0;
int translen = asprintf (&trans, "%s%c%d%c%d",
S_ISCHR (type) ? _HURD_CHRDEV : _HURD_BLKDEV,
- '\0', major (indexes), '\0', minor (indexes));
+ '\0', gnu_dev_major (indexes), '\0', gnu_dev_minor (indexes));
if (trans == 0)
return ENOMEM;
else