aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2023-12-02 11:54:49 -0900
committerDavid M. Syzdek <david@syzdek.net>2023-12-02 11:54:49 -0900
commit93b997cae37a3ff30cee924d48c1cc02ab9e84d9 (patch)
treee64f0a9d64aa1edc221bf7fc1d58b8fd629b3318
parent96eebd857296ace32f5ec36cd78ccb95b20a79a6 (diff)
downloadcorset-93b997cae37a3ff30cee924d48c1cc02ab9e84d9.tar.gz
corset-93b997cae37a3ff30cee924d48c1cc02ab9e84d9.tar.bz2
corset-93b997cae37a3ff30cee924d48c1cc02ab9e84d9.tar.xz
corset-93b997cae37a3ff30cee924d48c1cc02ab9e84d9.zip
libcorset: updating variable names in corset_debug_config()
-rw-r--r--include/corset.h2
-rw-r--r--lib/libcorset/ldebug.c18
2 files changed, 10 insertions, 10 deletions
diff --git a/include/corset.h b/include/corset.h
index 914c393..7c3f62a 100644
--- a/include/corset.h
+++ b/include/corset.h
@@ -137,7 +137,7 @@ corset_prog_name(
137 137
138_CORSET_F void 138_CORSET_F void
139corset_debug_config( 139corset_debug_config(
140 corset_t * cnf, 140 corset_t * ch,
141 FILE * fs ); 141 FILE * fs );
142 142
143 143
diff --git a/lib/libcorset/ldebug.c b/lib/libcorset/ldebug.c
index db85e0e..f730328 100644
--- a/lib/libcorset/ldebug.c
+++ b/lib/libcorset/ldebug.c
@@ -76,10 +76,10 @@ corset_debug_print_str(
76 76
77void 77void
78corset_debug_config( 78corset_debug_config(
79 corset_t * cnf, 79 corset_t * ch,
80 FILE * fs ) 80 FILE * fs )
81{ 81{
82 if (!(cnf)) 82 if (!(ch))
83 return; 83 return;
84 84
85 fs = ((fs)) ? fs : stdout; 85 fs = ((fs)) ? fs : stdout;
@@ -90,13 +90,13 @@ corset_debug_config(
90 corset_debug_print_section(fs, 0, NULL); 90 corset_debug_print_section(fs, 0, NULL);
91 91
92 corset_debug_print_section(fs, 0, "General Options:"); 92 corset_debug_print_section(fs, 0, "General Options:");
93 corset_debug_print_str(fs, 0, "Quiet Mode:", (((cnf->cor_flags & CORSET_FLG_QUIET)) ? "yes" : "no")); 93 corset_debug_print_str(fs, 0, "Quiet Mode:", (((ch->cor_flags & CORSET_FLG_QUIET)) ? "yes" : "no"));
94 corset_debug_print_str(fs, 0, "Verbose Mode:", (((cnf->cor_verbose)) ? "yes" : "no")); 94 corset_debug_print_str(fs, 0, "Verbose Mode:", (((ch->cor_verbose)) ? "yes" : "no"));
95 corset_debug_print_str(fs, 0, "Run in Foreground:", (((cnf->cor_flags & CORSET_FLG_FOREGROUND)) ? "yes" : "no")); 95 corset_debug_print_str(fs, 0, "Run in Foreground:", (((ch->cor_flags & CORSET_FLG_FOREGROUND)) ? "yes" : "no"));
96 corset_debug_print_str(fs, 0, "Configuration File:", cnf->cor_conffile); 96 corset_debug_print_str(fs, 0, "Configuration File:", ch->cor_conffile);
97 corset_debug_print_str(fs, 0, "PID File:", cnf->cor_pidfile); 97 corset_debug_print_str(fs, 0, "PID File:", ch->cor_pidfile);
98 corset_debug_print_str(fs, 0, "Control Socket:", cnf->cor_sockfile); 98 corset_debug_print_str(fs, 0, "Control Socket:", ch->cor_sockfile);
99 corset_debug_print_str(fs, 0, "Module Directory:", cnf->cor_moddir); 99 corset_debug_print_str(fs, 0, "Module Directory:", ch->cor_moddir);
100 corset_debug_print_section(fs, 0, NULL); 100 corset_debug_print_section(fs, 0, NULL);
101 101
102 return; 102 return;