mention where code for got_path_find_prog() came from
diff --git a/lib/path.c b/lib/path.c
index fa5d77b..a0cd833 100644
--- a/lib/path.c
+++ b/lib/path.c
@@ -380,6 +380,7 @@ got_path_strip_trailing_slashes(char *path)
path[x] = '\0';
}
+/* based on findprog() from usr.sbin/which/which.c */
const struct got_error *
got_path_find_prog(char **filename, const char *prog)
{