Make it work on Amazon Linux

This commit is contained in:
Kota Kanbe
2017-04-26 14:28:02 +09:00
committed by kota kanbe
parent 587c87b3a0
commit c9ab956f8f
5 changed files with 21 additions and 19 deletions

View File

@@ -417,7 +417,7 @@ func (p *ReportCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}
}
}
filled, err := fillCveInfoFromOvalDB(r)
filled, err := fillCveInfoFromOvalDB(&r)
if err != nil {
util.Log.Errorf("Failed to fill OVAL information: %s", err)
return subcommands.ExitFailure