mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-17 14:55:07 -05:00
fixed the format of %REASON% entry when writing it
This commit is contained in:
parent
cdd81bf177
commit
5a13de80a1
@ -483,7 +483,7 @@ int db_write(pmdb_t *db, pmpkg_t *info, unsigned int inforeq)
|
|||||||
fputs("%SIZE%\n", fp);
|
fputs("%SIZE%\n", fp);
|
||||||
fprintf(fp, "%ld\n\n", info->size);
|
fprintf(fp, "%ld\n\n", info->size);
|
||||||
fputs("%REASON%\n", fp);
|
fputs("%REASON%\n", fp);
|
||||||
fprintf(fp, "%ld\n\n", info->reason);
|
fprintf(fp, "%d\n\n", info->reason);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user