summaryrefslogtreecommitdiff
path: root/sys/isofs
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-08-17 10:56:08 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-08-17 10:56:08 +0000
commit528f53b348c41d76497d4307d230d2b956bc06b5 (patch)
tree149154edfee01e43d2f9a3dc063906b7a948cb4c /sys/isofs
parentd86a6c16672c6fd6de49e6c04095bbe180db8edf (diff)
initialize an incorrectly uninitialized variable
Diffstat (limited to 'sys/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index 06a4885237b..1d93a38e72c 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/cd9660/cd9660_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660_vfsops.c,v 1.17 1999/07/01 02:20:22 d Exp $ */
+/* $OpenBSD: cd9660_vfsops.c,v 1.18 1999/08/17 10:56:07 art Exp $ */
/* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */
/*-
@@ -234,7 +234,7 @@ iso_mountfs(devvp, mp, p, argp)
int iso_blknum;
int joliet_level;
struct iso_volume_descriptor *vdp;
- struct iso_primary_descriptor *pri;
+ struct iso_primary_descriptor *pri = NULL;
struct iso_supplementary_descriptor *sup = NULL;
struct iso_directory_record *rootp;
int logical_block_size;