diff --git a/resource/traversers/dfu_impl.cpp b/resource/traversers/dfu_impl.cpp index 3daea18f6..5e9b76a91 100644 --- a/resource/traversers/dfu_impl.cpp +++ b/resource/traversers/dfu_impl.cpp @@ -343,7 +343,7 @@ const std::vector &dfu_impl_t::test (vtx_t u, pristine = false; ret = &(match_resources->with); } else { - spec = pristine? match_kind_t::PRESTINE_NONE_MATCH + spec = pristine? match_kind_t::PRISTINE_NONE_MATCH : match_kind_t::NONE_MATCH; } diff --git a/resource/traversers/dfu_impl.hpp b/resource/traversers/dfu_impl.hpp index 7b7b11c48..441a55fff 100644 --- a/resource/traversers/dfu_impl.hpp +++ b/resource/traversers/dfu_impl.hpp @@ -38,7 +38,7 @@ enum class visit_t { DFV, UPV }; enum class match_kind_t { RESOURCE_MATCH, SLOT_MATCH, NONE_MATCH, - PRESTINE_NONE_MATCH }; + PRISTINE_NONE_MATCH }; struct jobmeta_t {