Hello Mathias, Mathias Nyman [2010-04-21 13:52 +0300]: > readlink does not write a nul character to the end of the > string it returns. Therefore ask for one fewer character > than the buffer size so there's always room for an extra \0. Nice catch, thanks! Pushed. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html