* lib/getcwd.c (__getcwd): Remove redundant comparison of buf to NULL.