Merge pull request #2431 from serval2412/master

cppcheck: printf format string
This commit is contained in:
David Anderson 2018-03-28 12:10:39 -07:00 committed by GitHub
commit ac474dbafd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);