diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-05-06 02:26:50 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-05-06 02:26:50 +0000 |
commit | c75076d34441b34a30ad5499a3812c2e72237308 (patch) | |
tree | 2f057ba51627b5fcb041ae41d782c29281248f48 /sys/arch/hppa/stand | |
parent | 2e4b9cc2602db074990c2d312348778bfa101a26 (diff) |
comment
Diffstat (limited to 'sys/arch/hppa/stand')
-rw-r--r-- | sys/arch/hppa/stand/libsa/lif.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hppa/stand/libsa/lif.c b/sys/arch/hppa/stand/libsa/lif.c index dbc23798f73..7b05b7c0b16 100644 --- a/sys/arch/hppa/stand/libsa/lif.c +++ b/sys/arch/hppa/stand/libsa/lif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lif.c,v 1.4 1999/05/03 22:46:38 mickey Exp $ */ +/* $OpenBSD: lif.c,v 1.5 1999/05/06 02:26:49 mickey Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -67,6 +67,7 @@ lif_open (path, f) #endif fp = alloc(sizeof(*fp)); + /* XXX we're assuming here that sizeof(fp->f_buf) >= LIF_FILESTART */ if ((err = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, 0, sizeof(fp->f_buf), &fp->f_buf, &buf_size)) || buf_size != sizeof(fp->f_buf)) { |