]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
clarify error message
authorAlan T. DeKok <aland@freeradius.org>
Fri, 27 Oct 2017 13:02:57 +0000 (09:02 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 27 Oct 2017 13:02:57 +0000 (09:02 -0400)
src/lib/util/dict.c

index 861ecf4019841a1955eef4a77976db35266f6fe5..41215862a26fc6954d6c23c57b951817781bc451 100644 (file)
@@ -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;
                        }