commit cdfaba6355fa24376847d11cd71e4c2ade92869e
parent bc96a14903c0b001120ddc939ab19302248eb2a0
Author: sin <sin@2f30.org>
Date: Tue, 27 Aug 2013 10:37:26 +0100
Add comment for parsepath()
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/smdev.c b/smdev.c
@@ -161,6 +161,8 @@ runrulecmd(struct rule *rule)
* Parse rule->path[] and set `devpath' to the absolute
* path of the device node. If we have to rename the
* device node then set `devname' to the new device name.
+ *
+ * `devname' is a copy of ev->devname.
*/
static void
parsepath(struct rule *rule, char *devpath, size_t devpathsz,