1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 18:55:40 +03:00

[PATCH] tell the user what mknod() we are trying to do.

This commit is contained in:
greg@kroah.com 2003-10-15 23:51:11 -07:00 committed by Greg KH
parent 5ef7b7992a
commit 8479066ec7

View File

@ -93,6 +93,7 @@ static int create_node(char *name, char type, int major, int minor, int mode)
return -EINVAL;
}
dbg("mknod(%s, %#o, %u, %u)", filename, mode, major, minor);
retval = mknod(filename,mode,makedev(major,minor));
if (retval)
dbg("mknod(%s, %#o, %u, %u) failed with error '%s'",