# # # patch "automate.cc" # from [1aa12f69b3a0a1e9cfb653273c1671e6f1cd95a1] # to [06a214e81fbc38094531d00c8a27b2af832d855a] # ============================================================ --- automate.cc 1aa12f69b3a0a1e9cfb653273c1671e6f1cd95a1 +++ automate.cc 06a214e81fbc38094531d00c8a27b2af832d855a @@ -1027,7 +1027,8 @@ CMD_AUTOMATE(inventory, N_("[PATH]...") // check if we should output this element at all // vector states; - inventory_determine_states(app, fp, item, old_roster, new_roster, states); + inventory_determine_states(app.work, fp, item, + old_roster, new_roster, states); if (find(states.begin(), states.end(), "ignored") != states.end() && app.opts.no_ignored)