Fix bug in debug message generation in sp_flush().

This commit is contained in:
Martin Ling 2013-11-23 21:21:18 +00:00
parent 59131d6028
commit 0ba3e49b45
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,7 @@ enum sp_return sp_flush(struct sp_port *port, enum sp_buffer buffers)
if (buffers > SP_BUF_BOTH)
RETURN_ERROR(SP_ERR_ARG, "Invalid buffer selection");
const char *buffer_names[] = {"input", "output", "both"};
const char *buffer_names[] = {"no", "input", "output", "both"};
DEBUG("Flushing %s buffers on port %s", buffer_names[buffers], port->name);