Module: xenomai-forge Branch: next Commit: 781af00f9f693ac3de613c59bbfe5cc7688eb7dd URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=781af00f9f693ac3de613c59bbfe5cc7688eb7dd
Author: Jorge Ramirez-Ortiz <j...@xenomai.org> Date: Fri Jun 13 11:48:04 2014 -0400 drivers/analogy/buffer: fix error message --- kernel/drivers/analogy/buffer.c | 6 ++---- utils/analogy/Makefile.am | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/drivers/analogy/buffer.c b/kernel/drivers/analogy/buffer.c index d378f5e..2015c4b 100644 --- a/kernel/drivers/analogy/buffer.c +++ b/kernel/drivers/analogy/buffer.c @@ -821,8 +821,7 @@ ssize_t a4l_read_buffer(struct a4l_device_context * cxt, void *bufdata, size_t n } if (!a4l_subd_is_input(subd)) { - __a4l_err("a4l_read: current context " - "does not work with an input subdevice\n"); + __a4l_err("a4l_read: operation requires an input subdevice \n"); return -EINVAL; } @@ -923,8 +922,7 @@ ssize_t a4l_write_buffer(struct a4l_device_context *cxt, const void *bufdata, si } if (!a4l_subd_is_output(subd)) { - __a4l_err("a4l_write: current context " - "does not work with an output subdevice\n"); + __a4l_err("a4l_write: operation requires an output subdevice \n"); return -EINVAL; } diff --git a/utils/analogy/Makefile.am b/utils/analogy/Makefile.am index 10af70f..c731b7a 100644 --- a/utils/analogy/Makefile.am +++ b/utils/analogy/Makefile.am @@ -11,6 +11,7 @@ bin_PROGRAMS = \ CPPFLAGS = \ @XENO_USER_CFLAGS@ \ + -ggdb \ -I$(top_srcdir)/include LDFLAGS = _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git