gnu_dev_makedev, and hence its trivial macro wrapper makedev, takes two unsigned int parameters; this is consistent with it being the inverse of (gnu_dev_)major/minor, which return unsigned int. Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx> --- man3/makedev.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/makedev.3 b/man3/makedev.3 index e2038fb..bb63a4d 100644 --- a/man3/makedev.3 +++ b/man3/makedev.3 @@ -31,7 +31,7 @@ makedev, major, minor \- manage a device number .BR "#define _BSD_SOURCE" " /* See feature_test_macros(7) */" .B #include <sys/types.h> -.BI "dev_t makedev(int " maj ", int " min ); +.BI "dev_t makedev(unsigned int " maj ", unsigned int " min ); .BI "unsigned int major(dev_t " dev ); .BI "unsigned int minor(dev_t " dev ); -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html