diff options
Diffstat (limited to 'bin/dd/dd.c')
-rw-r--r-- | bin/dd/dd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dd/dd.c b/bin/dd/dd.c index 617cd51..ebfa792 100644 --- a/bin/dd/dd.c +++ b/bin/dd/dd.c @@ -222,8 +222,8 @@ getfdtype(io) } else { if (type & D_TAPE) io->flags |= ISTAPE; - else if (type & D_DISK) - io->flags |= ISDISK; + else if (type & (D_DISK | D_MEM)) + io->flags |= ISSEEK; if (S_ISCHR(sb.st_mode) && (type & D_TAPE) == 0) io->flags |= ISCHR; } |