From 670c99fbcd993f1e3a8236bd38ac664f8b5658dd Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 28 May 2014 00:51:46 +0200 Subject: libdpkg: Uppercase and expand atomic_file_flags enum values --- src/divertcmd.c | 2 +- src/statcmd.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 - * Copyright © 2006-2012 Guillem Jover + * Copyright © 2006-2014 Guillem Jover * * 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(); -- cgit v1.2.3