[Git][NTPsec/ntpsec][master] print dir rather than file when parsing dir

Matt Selsky gitlab at mg.gitlab.com
Sat Nov 16 01:57:05 UTC 2019



Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
3a8f24c9 by Thomas Stewart at 2019-11-15T15:45:00Z
print dir rather than file when parsing dir

- - - - -


1 changed file:

- ntpd/ntp_config.c


Changes:

=====================================
ntpd/ntp_config.c
=====================================
@@ -3156,7 +3156,7 @@ void readconfig(const char *config_file)
 	/* parse configs in parallel subdirectory if that exists */
 	reparent(dirpath, sizeof(dirpath), config_file, CONFIG_DIR);
 	if (is_directory(dirpath) && lex_push_file(dirpath)) {
-		msyslog(LOG_INFO, "CONFIG: readconfig: parsing directory: %s", config_file);
+		msyslog(LOG_INFO, "CONFIG: readconfig: parsing directory: %s", dirpath);
 	    yyparse();
 	    ++srccount;
 	}



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3a8f24c91eb925f68de4d505f4b3f57f377a067b

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3a8f24c91eb925f68de4d505f4b3f57f377a067b
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20191116/6b2bfd4e/attachment.htm>


More information about the vc mailing list