From: Arvin Schnell Date: Wed, 18 Feb 2015 15:34:39 +0000 (+0100) Subject: - renamed function X-Git-Tag: v0.2.6~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F147%2Fhead;p=thirdparty%2Fsnapper.git - renamed function --- diff --git a/snapper/Btrfs.cc b/snapper/Btrfs.cc index 14529bb5..7f246e80 100644 --- a/snapper/Btrfs.cc +++ b/snapper/Btrfs.cc @@ -1410,13 +1410,13 @@ namespace snapper void parse_fstab() { - if (mnt_table_parse_fstab(table, xxx().c_str()) != 0) + if (mnt_table_parse_fstab(table, target_fstab().c_str()) != 0) throw runtime_error("mnt_table_parse_fstab failed"); } void replace_file() { - if (mnt_table_replace_file(table, xxx().c_str()) != 0) + if (mnt_table_replace_file(table, target_fstab().c_str()) != 0) throw runtime_error("mnt_table_replace_file failed"); } @@ -1439,7 +1439,7 @@ namespace snapper private: - string xxx() const // TODO + string target_fstab() const { return prepend_root_prefix(root_prefix, "/etc/fstab"); }