1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-12 09:17:44 +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'",