summaryrefslogtreecommitdiffstats
path: root/support/nfs/xio.c
diff options
context:
space:
mode:
authorchip <chip>2000-12-03 19:20:25 +0000
committerchip <chip>2000-12-03 19:20:25 +0000
commita7f1a3f9ffe6c2effeec20809d89a9dcf4234495 (patch)
treec72a5ed534c64fb4342659d627dccb748fff6fd2 /support/nfs/xio.c
parent54b225f1c3b5ab685b17395a4f178c340ec2ad0a (diff)
downloadnfs-utils-a7f1a3f9ffe6c2effeec20809d89a9dcf4234495.tar.gz
nfs-utils-a7f1a3f9ffe6c2effeec20809d89a9dcf4234495.tar.xz
nfs-utils-a7f1a3f9ffe6c2effeec20809d89a9dcf4234495.zip
2000-12-03 Chip Salzenberg <chip@valinux.com>
* support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
Diffstat (limited to 'support/nfs/xio.c')
-rw-r--r--support/nfs/xio.c2
1 files changed, 1 insertions, 1 deletions
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;
}