On Fri, Feb 21, 2014 at 05:51:28PM +0400, Andrey Vagin wrote: > + pr_debug("\t\tGetting mpt for %d:%s\n", pm->mnt_id, me->mountpoint); > + len = snprintf(NULL, 0, ".%s", me->mountpoint) + 1; Could you please explain how it's different from len = strlen(me->mountpoint) + 2 ? Cyrill