diff options
-rw-r--r-- | usr.sbin/config/config.8 | 2 | ||||
-rw-r--r-- | usr.sbin/config/main.c | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/config/config.8 b/usr.sbin/config/config.8 index 14e308d..5676dc6 100644 --- a/usr.sbin/config/config.8 +++ b/usr.sbin/config/config.8 @@ -110,7 +110,7 @@ represents one of the architectures supported by .Fx . .Nm creates the directory -.Pa ../../compile/SYSTEM_NAME +.Pa ../compile/SYSTEM_NAME or the one given with the .Fl d option diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index a6db7e7..3a0fff5 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -67,7 +67,7 @@ static const char rcsid[] = #define FALSE (0) #endif -#define CDIR "../../compile/" +#define CDIR "../compile/" char * PREFIX; char destdir[MAXPATHLEN]; @@ -158,8 +158,7 @@ main(int argc, char **argv) { char xxx[MAXPATHLEN]; if (*srcdir == '\0') - (void)snprintf(xxx, sizeof(xxx), "../../%s/include", - machinename); + (void)snprintf(xxx, sizeof(xxx), "../../include"); else (void)snprintf(xxx, sizeof(xxx), "%s/%s/include", srcdir, machinename); |