Hi! > +static char *result_fmt = "%-50s %-10.10s %-10.10s\n"; This should be a macro otherwise the compilation will fail for some compilers since the format string passed to fprintf() is not a static string. Other than that it looks fine. -- Cyril Hrubis chrubis@suse.cz