From c75076d34441b34a30ad5499a3812c2e72237308 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 6 May 1999 02:26:50 +0000 Subject: comment --- sys/arch/hppa/stand/libsa/lif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) { -- cgit v1.2.3