summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/main_dd.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 12:12:39 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 12:12:39 +0000
commit0893220b2a4507fc2619b625ecb0d6241ef5cd6f (patch)
tree1f81a1c1fac15dc8f3cd86aef65cbcf261f01a97 /cpukit/libmisc/shell/main_dd.c
parentWhitespace removal. (diff)
downloadrtems-0893220b2a4507fc2619b625ecb0d6241ef5cd6f.tar.bz2
Whitespace removal.
Diffstat (limited to 'cpukit/libmisc/shell/main_dd.c')
-rw-r--r--cpukit/libmisc/shell/main_dd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libmisc/shell/main_dd.c b/cpukit/libmisc/shell/main_dd.c
index 98d69811f9..7fa2435522 100644
--- a/cpukit/libmisc/shell/main_dd.c
+++ b/cpukit/libmisc/shell/main_dd.c
@@ -158,7 +158,7 @@ parity(u_char c)
{
int i;
- i = c ^ (c >> 1) ^ (c >> 2) ^ (c >> 3) ^
+ i = c ^ (c >> 1) ^ (c >> 2) ^ (c >> 3) ^
(c >> 4) ^ (c >> 5) ^ (c >> 6) ^ (c >> 7);
return (i & 1);
}
@@ -285,7 +285,7 @@ setup(rtems_shell_dd_globals* globals)
}
(void)gettimeofday(&tv, (struct timezone *)NULL);
- st.start = tv.tv_sec + tv.tv_usec * 1e-6;
+ st.start = tv.tv_sec + tv.tv_usec * 1e-6;
}
static void
@@ -301,7 +301,7 @@ getfdtype(rtems_shell_dd_globals* globals, IO *io)
if (S_ISREG(sb.st_mode))
io->flags |= ISTRUNC;
#if RTEMS_REMOVED
- if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) {
+ if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) {
if (ioctl(io->fd, FIODTYPE, &type) == -1) {
err(exit_jump, 1, "%s", io->name);
} else {