]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/bup.c
cmd/lib/bup.c: Don't use sysctl kern.proc.pathname on NetBSD
[bup.git] / lib / cmd / bup.c
index 482960be052b05731def8764467bbcd13e09357e..9cd1f388a009c635c8d6b8a75c91ff87b365899d 100644 (file)
@@ -120,7 +120,7 @@ static char *exe_parent_dir(const char * const argv_0) {
     return abs_parent;
 }
 
-#elif defined(__FreeBSD__) || defined(__NetBSD__)
+#elif defined(__FreeBSD__)
 
 static char *exe_path ()
 {
@@ -145,7 +145,7 @@ static char *exe_parent_dir(const char * const argv_0)
     return parent;
 }
 
-#else // not defined(__FreeBSD__) || defined(__NetBSD__)
+#else // not defined(__FreeBSD__)
 
 /// Use /proc if possible, and if all else fails, search in the PATH