浏览代码

Fix missing %s in callbacks.go

morganamilo 7 年之前
父节点
当前提交
7274e7d31a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      callbacks.go

+ 1 - 1
callbacks.go

@@ -75,7 +75,7 @@ func questionCallback(question alpm.QuestionAny) {
 			}
 
 			if num < 1 || num > size {
-				fmt.Printf(" invalid value: %d is not between %d and %d\n", red("error: "), num, 1, size)
+				fmt.Printf("%s invalid value: %d is not between %d and %d\n", red("error:"), num, 1, size)
 				continue
 			}