Skip to content

Commit

Permalink
Make 'message queue' log message a little more verbose
Browse files Browse the repository at this point in the history
Same format for both vtltape & vtllibrary.

Signed-off-by: Mark Harvey <markh794@gmail.com>
  • Loading branch information
markh794 committed Dec 8, 2011
1 parent 32161da commit 270c829
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion usr/vtllibrary.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ static int empty_map(struct q_msg *msg)
static int processMessageQ(struct q_msg *msg)
{

MHVTL_DBG(3, "Q snd_id %ld msg : %s", msg->snd_id, msg->text);
MHVTL_DBG(1, "Sender id: %ld, msg : %s", msg->snd_id, msg->text);

if (!strncmp(msg->text, "debug", 5)) {
if (debug) {
Expand Down
2 changes: 1 addition & 1 deletion usr/vtltape.c
Original file line number Diff line number Diff line change
Expand Up @@ -1696,7 +1696,7 @@ static int processMessageQ(struct q_msg *msg, uint8_t *sam_stat)

lu = lu_ssc.pm->lu;

MHVTL_DBG(1, "Q snd_id %ld msg : %s", msg->snd_id, msg->text);
MHVTL_DBG(1, "Sender id: %ld, msg : %s", msg->snd_id, msg->text);

/* Tape Load message from Library */
if (!strncmp(msg->text, "lload", 5)) {
Expand Down

0 comments on commit 270c829

Please sign in to comment.