Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix comments - smdev - suckless mdev
git clone git://git.suckless.org/smdev
Log
Files
Refs
README
LICENSE
---
commit 8243d1a683e336ff6edb1ea1b65cde089a6322cb
parent 74d551415ca2b21d5b7d657b89466975c8f492a4
Author: sin <[email protected]>
Date: Wed, 21 Aug 2013 17:00:21 +0100
Fix comments
Diffstat:
M smdev.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/smdev.c b/smdev.c
@@ -133,7 +133,7 @@ create_dev(const char *path)
if (ret < 0)
eprintf("chown %s:", devname);
- /* Create the symlinks */
+ /* Create symlinks */
if (Rule->path && Rule->path[0] == '>') {
snprintf(buf, sizeof(buf), "%s%s", &Rule->path[1], dev…
if (symlink(buf, origdevname))
@@ -141,12 +141,11 @@ create_dev(const char *path)
origdevname, buf);
}
- /* Export the needed environment */
snprintf(buf, sizeof(buf), "SMDEV=%s", devname);
if (putenv(buf) < 0)
eprintf("putenv:");
- /* Run the command hooks for this rule */
+ /* Run command hooks for this rule */
if (Rule->cmd) {
switch (Rule->cmd[0]) {
case '@':
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.