aboutsummaryrefslogtreecommitdiff
path: root/lib/sg_pt_osf1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sg_pt_osf1.c')
-rw-r--r--lib/sg_pt_osf1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sg_pt_osf1.c b/lib/sg_pt_osf1.c
index 8fa5e3e3..38e32cfc 100644
--- a/lib/sg_pt_osf1.c
+++ b/lib/sg_pt_osf1.c
@@ -46,7 +46,7 @@ struct osf1_dev_channel {
// Private table of open devices: guaranteed zero on startup since
// part of static data.
-static struct osf1_dev_channel *devicetable[OSF1_MAXDEV] = {0};
+static struct osf1_dev_channel *devicetable[OSF1_MAXDEV] SG_C_CPP_ZERO_INIT;
static char *cam_dev = "/dev/cam";
static int camfd;
static int camopened = 0;