cppcheck: printf format string

[sched/target_batch.cpp:182]: (warning) printf format string requires 1 parameter but 2 are given.
This commit is contained in:
Julien Nabet 2018-03-28 18:01:14 +02:00
parent de11733ba2
commit 32253c3e30
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ LIMIT %d",
int num_assigned=0;
while ((row = mysql_fetch_row(rp))){
workunit.db_parse(row);
printf ("Assigning WU %d to user \n", workunit.id, DEDICATED_USER_ID);
printf ("Assigning WU %d to user %ld\n", workunit.id, DEDICATED_USER_ID);
restrict_wu_to_user (workunit, DEDICATED_USER_ID);