Hi Alex,
On 9/10/20 11:13 PM, Alejandro Colomar wrote:
> Both major(3) and minor(3) return an 'unsigned int',
> so there is no need to use a 'long' for printing.
> Moreover, it should have been 'unsigned long',
> as "%lx" expects an unsigned type.
This may be true on Linux, but is not true on
Both major(3) and minor(3) return an 'unsigned int',
so there is no need to use a 'long' for printing.
Moreover, it should have been 'unsigned long',
as "%lx" expects an unsigned type.
Signed-off-by: Alejandro Colomar
---
man2/ioctl_ns.2 | 10 --
1 file changed, 4 insertions(+), 6
2 matches
Mail list logo