projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull bugzilla-7887 into release branch
[powerpc.git]
/
fs
/
hostfs
/
hostfs_user.c
diff --git
a/fs/hostfs/hostfs_user.c
b/fs/hostfs/hostfs_user.c
index
23b7cee
..
1ed5ea3
100644
(file)
--- a/
fs/hostfs/hostfs_user.c
+++ b/
fs/hostfs/hostfs_user.c
@@
-295,11
+295,11
@@
int do_rmdir(const char *file)
return(0);
}
return(0);
}
-int do_mknod(const char *file, int mode,
int dev
)
+int do_mknod(const char *file, int mode,
unsigned int major, unsigned int minor
)
{
int err;
{
int err;
- err = mknod(file, mode,
dev
);
+ err = mknod(file, mode,
makedev(major, minor)
);
if(err) return(-errno);
return(0);
}
if(err) return(-errno);
return(0);
}