From 06429d67b7e9be332d1012ed4c2bba694e5ddabb Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Tue, 12 Jun 2018 12:57:06 +0200 Subject: Hurd patches (fix compilation) * isofs/rr.c (rrip_work): Use gnu_dev_makedev instead of makedev. * libdiskfs/file-set-trans.c (diskfs_S_file_set_translator): Likewise. * libnetfs/file-set-translator.c (netfs_S_file_set_translator): Likeiwse. * nfs/nfs.c (xdr_decode_fattr): Likewise. * storeio/storeio.c (parse_opt): Likewise. * libfshelp/fetch-root.c (fshelp_short_circuited_callback1): Use gnu_dev_major and gnu_dev_minor instead of major and minor. * libnetfs/file-get-translator.c (netfs_S_file_get_translator): Likewise. * nfs/ops.c (netfs_attempt_link): Likewise. * storeio/storeio.c (trivfs_append_args): Likewise. * trans/fakeroot.c (netfs_attempt_mkdev): Likewise. * pfinet/glue-include/linux/mm.h: Include . * term/users.c: Include --- nfs/nfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nfs/nfs.c') diff --git a/nfs/nfs.c b/nfs/nfs.c index c4d3e157..1a8b1d42 100644 --- a/nfs/nfs.c +++ b/nfs/nfs.c @@ -466,7 +466,7 @@ xdr_decode_fattr (int *p, struct stat *st) p++; minor = ntohl (*p); p++; - st->st_rdev = makedev (major, minor); + st->st_rdev = gnu_dev_makedev (major, minor); } st->st_fsid = ntohl (*p); p++; -- cgit v1.2.3