Fix typo of fmt format

This commit is contained in:
xgwang
2018-05-10 10:30:12 +08:00
parent ff9541bc1d
commit 29b6c29902
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ func (conn *iscsiConnection) processLoginData() ([]util.KeyValue, error) {
conn.loginParam.tgtTrans = true
} else {
//Currently, we just reject these kind of cases
return negoKV, fmt.Errorf("reject CSG=%d,NSG=%d,trans",
return negoKV, fmt.Errorf("reject CSG=%d,NSG=%d,trans=%t",
conn.loginParam.iniCSG, conn.loginParam.iniNSG, conn.loginParam.iniTrans)
}
} else {

View File

@@ -97,7 +97,7 @@ func deviceReserve(cmd *api.SCSICommand) error {
}
}
if lu == nil {
log.Errorf("invalid target and lun %d %s", cmd.Target.TID, lun)
log.Errorf("invalid target and lun %d %d", cmd.Target.TID, lun)
return nil
}