diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-04-24 11:27:35 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-04-24 11:27:35 +0000 |
commit | 5a13de80a1143ce42a9cef7d65a2f9d0e52eab46 (patch) | |
tree | 0e8300285c8d2bfdf2648c16bab41e09c633b383 /lib/libalpm | |
parent | cdd81bf1775a0ee569a9920cf0e79d4bb6751e6f (diff) |
fixed the format of %REASON% entry when writing it
Diffstat (limited to 'lib/libalpm')
-rw-r--r-- | lib/libalpm/db.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |