[PATCH] tell the user what mknod() we are trying to do.
This commit is contained in:
parent
5ef7b7992a
commit
8479066ec7
|
@ -93,6 +93,7 @@ static int create_node(char *name, char type, int major, int minor, int mode)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dbg("mknod(%s, %#o, %u, %u)", filename, mode, major, minor);
|
||||||
retval = mknod(filename,mode,makedev(major,minor));
|
retval = mknod(filename,mode,makedev(major,minor));
|
||||||
if (retval)
|
if (retval)
|
||||||
dbg("mknod(%s, %#o, %u, %u) failed with error '%s'",
|
dbg("mknod(%s, %#o, %u, %u) failed with error '%s'",
|
||||||
|
|
Loading…
Reference in New Issue