From 3156453e6b1877da6aa8b4f9c41c1a53c309056c Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 25 Jun 2020 18:19:59 +0000 Subject: driver: slbt_init_host_params(): added missing initialization of ecode. --- src/driver/slbt_driver_ctx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index b57dbae..ab28c44 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -810,6 +810,7 @@ static int slbt_init_host_params( if (arprobe) { sprintf(drvhost->ar,"%s-ar",host->host); cfgmeta->ar = cfghost; + ecode = 127; /* empty archive */ if ((arfd = mkstemp(archivename)) >= 0) { -- cgit v1.2.3