From: chip Date: Sun, 3 Dec 2000 19:20:25 +0000 (+0000) Subject: 2000-12-03 Chip Salzenberg X-Git-Tag: nfs-utils-0-3~6 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=a7f1a3f9ffe6c2effeec20809d89a9dcf4234495;p=nfs-utils.git 2000-12-03 Chip Salzenberg * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero. --- 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; }