From: Alan T. DeKok Date: Fri, 27 Oct 2017 13:02:57 +0000 (-0400) Subject: clarify error message X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfeccabf04e08b2a2bcd351f7b04c9ebe2fed5bb;p=thirdparty%2Ffreeradius-server.git clarify error message --- diff --git a/src/lib/util/dict.c b/src/lib/util/dict.c index 861ecf40198..41215862a26 100644 --- a/src/lib/util/dict.c +++ b/src/lib/util/dict.c @@ -2419,7 +2419,7 @@ static int _dict_from_file(dict_from_file_ctx_t *ctx, */ if (strcasecmp(argv[0], "$INCLUDE") == 0) { if (_dict_from_file(ctx, dir, argv[1], fn, line) < 0) { - fr_strerror_printf_push("$INCLUDE at %s[%d]", fn, line); + fr_strerror_printf_push("from $INCLUDE at %s[%d]", fn, line); fclose(fp); return -1; } @@ -2438,7 +2438,7 @@ static int _dict_from_file(dict_from_file_ctx_t *ctx, } if (rcode < 0) { - fr_strerror_printf_push("$INCLUDE at %s[%d]", fn, line); + fr_strerror_printf_push("from $INCLUDE at %s[%d]", fn, line); fclose(fp); return -1; }