aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-07-11 03:55:57 -0400
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-07-15 12:19:05 -0400
commit7d879c70801f86dfb662f347b180e1c7ac41ec8f (patch)
tree38a4d7ad3db75ee64f56370aa5d4607ee6732729
parent87e58bb3d1ad12d33344ddadbdcaed44b46db652 (diff)
[PATCH] Avoid __LINE__ in debug messages
Printing line number can be misleading. Limit it to the messages that are not unique throughout the code. Signed-off-by: Pavel Roskin <proski@gnu.org>
-rw-r--r--at76_usb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/at76_usb.c b/at76_usb.c
index bb8b714..2a3a784 100644
--- a/at76_usb.c
+++ b/at76_usb.c
@@ -2013,10 +2013,10 @@ static void at76_handle_mgmt_timeout_scan(struct at76_priv *priv)
/* INFO: Hope it was a one off error - if not, scanning
further down the line and stop this cycle */
}
- at76_dbg(DBG_PROGRESS, "%s %s:%d got cmd_status %d (istate %d, "
- "scan_runs %d)",
- priv->netdev->name, __func__, __LINE__, status,
- priv->istate, priv->scan_runs);
+ at76_dbg(DBG_PROGRESS,
+ "%s %s: got cmd_status %d (istate %d, scan_runs %d)",
+ priv->netdev->name, __func__, status, priv->istate,
+ priv->scan_runs);
if (status != CMD_STATUS_COMPLETE) {
if ((status != CMD_STATUS_IN_PROGRESS) &&