diff options
author | Miles Bader <miles@gnu.org> | 1995-04-10 14:26:36 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-10 14:26:36 +0000 |
commit | adbfecb7eb8ffaeed92f26cfabca301fae5391eb (patch) | |
tree | cefadf22c6fdd28520c16d6cb57607c2cdb680d1 | |
parent | 0924d80bcb4deb56cb07b85fdc52f1c7cbd8270c (diff) |
(open_create): Supply our device's size when creating a window.
-rw-r--r-- | devio/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devio/open.c b/devio/open.c index 64d62bfe..bab4fe99 100644 --- a/devio/open.c +++ b/devio/open.c @@ -49,7 +49,7 @@ open_create(struct dev *dev, struct open **open) err = dev_get_memory_object(dev, &memobj); if (!err) err = - window_create(memobj, 0, 0, dev_is(dev, DEV_READONLY), + window_create(memobj, dev->size, 0, 0, dev_is(dev, DEV_READONLY), &(*open)->window); /* XXX sizes */ if (err) { |