I guess usage should be eprintf("usage: %s [name]\n", argv0);

Could use puts(buf); instead of printf("%s\n", buf);

-Truls

Reply via email to