6.824 execution use case error debug call has arguments but no formatting directives

  1. execute go test command to report an error. What does it mean?
debug call has arguments but no formatting directives
  1. in addition, what does the xxx stand for after go test-run xxx mean? check it out and see no clear statement
Feb.16,2022

is indeed a good course, and there may be others searching for this question, so post:
debug () called fmt.Printf (), that is, it will call:

fmt.Printf("RegistrationServer: accept error", err)

if there is no flag in arg1, there will be an error, similar to:

v := 1
fmt.Printf("any", v) // error
fmt.Printf("any%d", v) // success

solving the problem is not deleting the problematic line of code, ha


the debug log with the wrong line reported by the knee drop is needed, and the test case can run normally

debug("RegistrationServer: accept error, %v", err)
Menu