diff --git a/resource/traversers/dfu_impl.cpp b/resource/traversers/dfu_impl.cpp index 654c26beb..f7799c17c 100644 --- a/resource/traversers/dfu_impl.cpp +++ b/resource/traversers/dfu_impl.cpp @@ -342,7 +342,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 140a553fc..7a43426d5 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 {