$NetBSD: patch-ab,v 1.1 2006/01/09 22:14:32 joerg Exp $ --- focal2.c.orig 2006-01-09 22:06:20.000000000 +0000 +++ focal2.c @@ -138,7 +138,7 @@ void library() || strcmp(de->d_name, ".") == 0 || strcmp(de->d_name, "..") == 0) continue; - printf("%.*s\n", de->d_reclen, de->d_name); + printf("%.*s\n", de->d_namlen, de->d_name); } closedir(dp); #else