X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fpath.c;h=66bb8f1f5c83ec471b85a15a99f416f9f333e4e4;hb=1980b87246c7099e9191890036398960f6dee4d1;hp=90d3a27387ab9373a97c19c35dcfb9133c8ed33e;hpb=2abb9a7cfb0930e27062088734d306e7d78e4cc2;p=mmh diff --git a/sbr/path.c b/sbr/path.c index 90d3a27..66bb8f1 100644 --- a/sbr/path.c +++ b/sbr/path.c @@ -6,6 +6,7 @@ ** complete copyright information. */ +#include #include #include #include @@ -76,7 +77,7 @@ try_it: /* -** Compactify a path name by removing unneccessary parts. +** Compactify a path name by removing unnecessary parts. ** Removes trailing slashes. Cares to never remove all characters. ** Modifies f (never enlarges it). ** @@ -285,7 +286,7 @@ toabsdir(char *path) char *cp=buf, *pp; if (!(pp = context_find("path")) || !*pp) { - adios(NULL, "Non-empty profile entry `Path' required"); + adios(EX_CONFIG, NULL, "Non-empty profile entry `Path' required"); } if (*pp != '/') { /* Path is relative to $HOME */