pkgsync_needed
if (!pkgsync_needed(root, dryrundir, quit))
extern boolean_t pkgsync_needed(const char *, const char *, boolean_t);
if (!pkgsync_needed(root, sadmdir, force_quit))