From cd87c69de49124a4dc6b3a49f43366f5d37e41d5 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Wed, 26 Feb 2020 02:05:18 +0900 Subject: [PATCH] Fix forwarding a vararg parameter vararg parameter is passed without unpacking, which prints not-so-useful value. Bug: N/A Test: m Change-Id: I03f011557d10c6e2bc06813491cd8df2cce7c6ea --- android/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/module.go b/android/module.go index fd3fec333..665a30f3f 100644 --- a/android/module.go +++ b/android/module.go @@ -1281,7 +1281,7 @@ type baseModuleContext struct { func (b *baseModuleContext) OtherModuleName(m blueprint.Module) string { return b.bp.OtherModuleName(m) } func (b *baseModuleContext) OtherModuleDir(m blueprint.Module) string { return b.bp.OtherModuleDir(m) } func (b *baseModuleContext) OtherModuleErrorf(m blueprint.Module, fmt string, args ...interface{}) { - b.bp.OtherModuleErrorf(m, fmt, args) + b.bp.OtherModuleErrorf(m, fmt, args...) } func (b *baseModuleContext) OtherModuleDependencyTag(m blueprint.Module) blueprint.DependencyTag { return b.bp.OtherModuleDependencyTag(m)