|
33 | 33 | #include <unistd.h> |
34 | 34 |
|
35 | 35 | #include "swupd.h" |
| 36 | +#include "swupd_lib/heuristics.h" |
36 | 37 | #include "swupd_lib/signature.h" |
37 | 38 | #include "swupd_lib/target_root.h" |
38 | | -#include "swupd_lib/heuristics.h" |
39 | 39 |
|
40 | 40 | #define FLAG_EXTRA_FILES_ONLY 2000 |
41 | 41 | #define FLAG_FILE 2001 |
@@ -299,7 +299,7 @@ static int get_required_files(struct manifest *official_manifest, struct list *r |
299 | 299 | * Only called when a file has failed to be fixed during a verify or install. |
300 | 300 | * If a low-space warning has been printed, don't check again, |
301 | 301 | * but just warn the user and return. |
302 | | -*/ |
| 302 | + */ |
303 | 303 | static void check_warn_freespace(struct file *file) |
304 | 304 | { |
305 | 305 | long fs_free; |
@@ -611,7 +611,7 @@ static void remove_orphaned_files(struct list *files_to_verify, bool repair) |
611 | 611 | if (errno != ENOTEMPTY) { |
612 | 612 | print(" -> not deleted (%s)\n", strerror(errno)); |
613 | 613 | } else { |
614 | | - //FIXME: Add force removal option? |
| 614 | + // FIXME: Add force removal option? |
615 | 615 | print(" -> not deleted (not empty)\n"); |
616 | 616 | } |
617 | 617 | } else { |
@@ -922,7 +922,7 @@ enum swupd_code execute_verify_extra(extra_proc_fn_t post_verify_fn) |
922 | 922 | bool invalid_bundle = false; |
923 | 923 |
|
924 | 924 | /* Unless we are installing a new bundle and the --skip-optional flag is not |
925 | | - * set we shoudn't include optional bundles to the bundle list */ |
| 925 | + * set we shoudn't include optional bundles to the bundle list */ |
926 | 926 | if (!cmdline_option_install || cmdline_option_skip_optional) { |
927 | 927 | globals.skip_optional_bundles = true; |
928 | 928 | } |
|
0 commit comments