Test the result of the following C function call without and again after applying the patch included in this review:
char b[1024];
sysctlbyname("user.cs_path", b, 1024, NULL, 0);
Alternatively print the contents of the variable "b" at line 279 of usr.bin/whereis.c (after the second sysctlbyname() call).