aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/main.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-02-15 12:35:30 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-15 12:35:30 (GMT)
commitc511c8c6e097ad434e2ee3b4d08c11ac8b0dbc16 (patch)
tree8efb8a06344b1532eaa9bb0ccbe1ea46c7e7a2ec /wpa_supplicant/main.c
parentd94d4bafbb43699d323d6f6e3e404000b3f0a7b4 (diff)
downloadhostap-c511c8c6e097ad434e2ee3b4d08c11ac8b0dbc16.zip
hostap-c511c8c6e097ad434e2ee3b4d08c11ac8b0dbc16.tar.gz
hostap-c511c8c6e097ad434e2ee3b4d08c11ac8b0dbc16.tar.bz2
Avoid using #ifdef inside printf string
This makes it easier to use a preprocessor macro for printf.
Diffstat (limited to 'wpa_supplicant/main.c')
-rw-r--r--wpa_supplicant/main.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/wpa_supplicant/main.c b/wpa_supplicant/main.c
index 7e9919b..513a7bf 100644
--- a/wpa_supplicant/main.c
+++ b/wpa_supplicant/main.c
@@ -52,22 +52,22 @@ static void usage(void)
" -C = ctrl_interface parameter (only used if -c is not)\n"
" -i = interface name\n"
" -d = increase debugging verbosity (-dd even more)\n"
- " -D = driver name (can be multiple drivers: nl80211,wext)\n"
+ " -D = driver name (can be multiple drivers: nl80211,wext)\n");
#ifdef CONFIG_DEBUG_FILE
- " -f = log output to debug file instead of stdout\n"
+ printf(" -f = log output to debug file instead of stdout\n");
#endif /* CONFIG_DEBUG_FILE */
- " -g = global ctrl_interface\n"
+ printf(" -g = global ctrl_interface\n"
" -K = include keys (passwords, etc.) in debug output\n"
" -t = include timestamp in debug messages\n"
" -h = show this help text\n"
- " -L = show license (GPL and BSD)\n");
- printf(" -p = driver parameters\n"
+ " -L = show license (GPL and BSD)\n"
+ " -p = driver parameters\n"
" -P = PID file\n"
- " -q = decrease debugging verbosity (-qq even less)\n"
+ " -q = decrease debugging verbosity (-qq even less)\n");
#ifdef CONFIG_CTRL_IFACE_DBUS
- " -u = enable DBus control interface\n"
+ printf(" -u = enable DBus control interface\n");
#endif /* CONFIG_CTRL_IFACE_DBUS */
- " -v = show version\n"
+ printf(" -v = show version\n"
" -W = wait for a control interface monitor before starting\n"
" -N = start describing new interface\n");