mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -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);
|
||||
fprintf(fp, "%ld\n\n", info->size);
|
||||
fputs("%REASON%\n", fp);
|
||||
fprintf(fp, "%ld\n\n", info->reason);
|
||||
fprintf(fp, "%d\n\n", info->reason);
|
||||
fclose(fp);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user