From a7f1a3f9ffe6c2effeec20809d89a9dcf4234495 Mon Sep 17 00:00:00 2001 From: chip Date: Sun, 3 Dec 2000 19:20:25 +0000 Subject: [PATCH] 2000-12-03 Chip Salzenberg * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero. --- ChangeLog | 4 ++++ support/nfs/xio.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f7fa1fc..ee92e7b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-12-03 Chip Salzenberg + + * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero. + 2000-11-27 Tobias Ringstrom * utils/mountd/auth.c (auth_authenticate): Log the bad path diff --git a/support/nfs/xio.c b/support/nfs/xio.c index 0a250fc..db5e2c3 100644 --- a/support/nfs/xio.c +++ b/support/nfs/xio.c @@ -29,7 +29,7 @@ xfopen(char *fname, char *type) return NULL; xfp = (XFILE *) xmalloc(sizeof(*xfp)); xfp->x_fp = fp; - xfp->x_line = 0; + xfp->x_line = 1; return xfp; } -- 2.39.5