smdev

suckless mdev
git clone git://git.2f30.org/smdev.git
Log | Files | Refs | README | LICENSE

commit fdc8d9bc59f0a945fe28932bdfbe73c4aa772362
parent c228339545934e7ddf3f25ad262348488a36c01c
Author: sin <sin@2f30.org>
Date:   Fri Aug 23 17:52:11 +0100

Add comment for ev->devname

Diffstat:
smdev.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/smdev.c b/smdev.c @@ -280,6 +280,7 @@ createdev(struct event *ev) eprintf("chown %s:", devpath); if (rule->path && rule->path[0] == '>') { + /* ev->devname is the original device name */ snprintf(buf, sizeof(buf), "/dev/%s", ev->devname); if (symlink(devpath, buf) < 0) eprintf("symlink %s -> %s:",