summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-05-28 00:51:46 +0200
committerGuillem Jover <guillem@debian.org>2014-05-28 00:51:46 +0200
commit670c99fbcd993f1e3a8236bd38ac664f8b5658dd (patch)
treeb3d766c3e82caef7376e73667e90214322b2cb1f /src
parent0bac29bc7ceb5e8eb7816a61720dc7ae1e4fe693 (diff)
downloaddpkg-670c99fbcd993f1e3a8236bd38ac664f8b5658dd.tar.gz
libdpkg: Uppercase and expand atomic_file_flags enum values
Diffstat (limited to 'src')
-rw-r--r--src/divertcmd.c2
-rw-r--r--src/statcmd.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/divertcmd.c b/src/divertcmd.c
index f4a268c89..759ce26e9 100644
--- a/src/divertcmd.c
+++ b/src/divertcmd.c
@@ -361,7 +361,7 @@ divertdb_write(void)
dbname = dpkg_db_get_path(DIVERSIONSFILE);
- file = atomic_file_new(dbname, aff_backup);
+ file = atomic_file_new(dbname, ATOMIC_FILE_BACKUP);
atomic_file_open(file);
iter = files_db_iter_new();
diff --git a/src/statcmd.c b/src/statcmd.c
index 64e924d9d..a29d9a5e3 100644
--- a/src/statcmd.c
+++ b/src/statcmd.c
@@ -2,7 +2,7 @@
* dpkg-statoverride - override ownership and mode of files
*
* Copyright © 2000, 2001 Wichert Akkerman <wakkerma@debian.org>
- * Copyright © 2006-2012 Guillem Jover <guillem@debian.org>
+ * Copyright © 2006-2014 Guillem Jover <guillem@debian.org>
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -195,7 +195,7 @@ statdb_write(void)
struct filenamenode *file;
dbname = dpkg_db_get_path(STATOVERRIDEFILE);
- dbfile = atomic_file_new(dbname, aff_backup);
+ dbfile = atomic_file_new(dbname, ATOMIC_FILE_BACKUP);
atomic_file_open(dbfile);
iter = files_db_iter_new();