summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
diff options
context:
space:
mode:
authorwkoszek <wkoszek@FreeBSD.org>2009-02-07 11:40:47 +0000
committerwkoszek <wkoszek@FreeBSD.org>2009-02-07 11:40:47 +0000
commit9c7fbb2c389276c5be3958daa010b87dbb73bb8b (patch)
tree7e112f239c4dfce014577e84056e5beae470ae09 /usr.sbin/config
parent5be805d3a6f380c20f000eee83bfd90b1f104b89 (diff)
downloadFreeBSD-src-9c7fbb2c389276c5be3958daa010b87dbb73bb8b.zip
FreeBSD-src-9c7fbb2c389276c5be3958daa010b87dbb73bb8b.tar.gz
Move the comment to it's correct place.
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c
index dc43dd7..34806ab 100644
--- a/usr.sbin/config/main.c
+++ b/usr.sbin/config/main.c
@@ -466,6 +466,11 @@ configfile_filebased(struct sbuf *sb)
struct cfgfile *cf;
int i;
+ /*
+ * Try to read all configuration files. Since those will be present as
+ * C string in the macro, we have to slash their ends then the line
+ * wraps.
+ */
STAILQ_FOREACH(cf, &cfgfiles, cfg_next) {
cff = fopen(cf->cfg_path, "r");
if (cff == NULL) {
@@ -500,11 +505,6 @@ configfile(void)
sb = sbuf_new(NULL, NULL, 2048, SBUF_AUTOEXTEND);
assert(sb != NULL);
sbuf_clear(sb);
- /*
- * Try to read all configuration files. Since those will be present as
- * C string in the macro, we have to slash their ends then the line
- * wraps.
- */
if (filebased) {
/* Is needed, can be used for backward compatibility. */
configfile_filebased(sb);
OpenPOWER on IntegriCloud