diff options
| author | Christian Brueffer <brueffer@FreeBSD.org> | 2009-10-28 14:13:45 +0000 |
|---|---|---|
| committer | Christian Brueffer <brueffer@FreeBSD.org> | 2009-10-28 14:13:45 +0000 |
| commit | a79d48f537f63d8b8794c30c09795319d27443c7 (patch) | |
| tree | da46fb1c504968a12c7f1ebab919129a558cf991 /lib/libstand | |
| parent | 867b1d3431b4b7502abc23c03fda8c4891b8d55e (diff) | |
Notes
Diffstat (limited to 'lib/libstand')
| -rw-r--r-- | lib/libstand/open.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libstand/open.c b/lib/libstand/open.c index acbda1c9ed31..49dc6608ff43 100644 --- a/lib/libstand/open.c +++ b/lib/libstand/open.c @@ -113,6 +113,7 @@ open(const char *fname, int mode) /* see if we opened a raw device; otherwise, 'file' is the file name. */ if (file == (char *)0 || *file == '\0') { f->f_flags |= F_RAW; + f->f_rabuf = NULL; return (fd); } |
