udevtrigger: remove superfluous strlcpy
authorGabor Juhos <juhosg@openwrt.org>
Wed, 11 Sep 2013 14:10:13 +0000 (16:10 +0200)
committerJohn Crispin <blogic@openwrt.org>
Fri, 13 Sep 2013 15:36:58 +0000 (17:36 +0200)
commit583568b22fbab0d6d6128433cedf7f1a88c183c1
tree0e84c0ade7e624fae2f6c35c5533c14937b1631d
parent66deb81240d58400bd73e031357ec3d859892353
udevtrigger: remove superfluous strlcpy

Use the "/sys/class/block" string directly
for the stat call. This makes the code simpler
and reduces stack usage.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
udevtrigger.c