index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/db.c | 2 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 70d5f8e1..2f3e9670 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -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); } |