diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-04-03 14:50:44 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-04-03 15:03:18 +0200 |
commit | 5b045eb6f8b73ad224f6ee7e54eab28cd5771656 (patch) | |
tree | 3f6f1fbbe9d56ed59bf9ee47509ee75118bdccf2 /cpukit/libcsupport/src/termios.c | |
parent | bsp/tqm8xx: Install header file <bsp/irq-info.h> (diff) | |
download | rtems-5b045eb6f8b73ad224f6ee7e54eab28cd5771656.tar.bz2 |
Filesystem: Change type of ioctl_return
Change the ioctl_return type of rtems_libio_ioctl_args_t to match the
ioctl() return value type.
Diffstat (limited to 'cpukit/libcsupport/src/termios.c')
-rw-r--r-- | cpukit/libcsupport/src/termios.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index fc74718dda..17fa5ef91e 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -517,10 +517,9 @@ rtems_termios_ioctl (void *arg) struct ttywakeup *wakeup = (struct ttywakeup *)args->buffer; rtems_status_code sc; - args->ioctl_return = 0; + args->ioctl_return = 0; sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); if (sc != RTEMS_SUCCESSFUL) { - args->ioctl_return = sc; return sc; } switch (args->command) { @@ -619,7 +618,6 @@ rtems_termios_ioctl (void *arg) } rtems_semaphore_release (tty->osem); - args->ioctl_return = sc; return sc; } |