summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-10-15 23:51:11 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:41 -0700
commit8479066ec7dd5824a3fe5bf08bb5f9d2e14d8837 (patch)
treea5166682749b475bcab560c4ebc4069c4e9cc2f8
parent5ef7b7992a5c8ea26c2a16a251bf93526b52559b (diff)
[PATCH] tell the user what mknod() we are trying to do.
-rw-r--r--udev-add.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev-add.c b/udev-add.c
index c8aa2f70c9..48979393a5 100644
--- a/udev-add.c
+++ b/udev-add.c
@@ -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'",