smdev

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

commit 0534a1001fb7990c2837bc4cf76f7f4824a890c1
parent 58018dfb567aa80dc11bd81446fce1764ad628aa
Author: sin <sin@2f30.org>
Date:   Thu, 22 Aug 2013 13:31:08 +0100

Print an error if the environment is not set up for hotplugging

Diffstat:
Msmdev.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smdev.c b/smdev.c @@ -59,7 +59,7 @@ main(int argc, char *argv[]) recurse("/sys/devices", populatedev); else if (dohotplug() < 0) - return 1; + eprintf("Environment not set up correctly for hotplugging\n"); return 0; }