ca673d66de
This adds a patch to quiet a compiler warning which would be harmless except that it breaks the build due to use of -Werror. See http://hydra.nixos.org/build/25151888/nixlog/1
13 lines
650 B
Diff
13 lines
650 B
Diff
diff -Nru policycoreutils-2.4/setfiles/restore.c policycoreutils-2.4.new/setfiles/restore.c
|
|
--- policycoreutils-2.4/setfiles/restore.c 2015-02-02 09:38:10.000000000 -0500
|
|
+++ policycoreutils-2.4.new/setfiles/restore.c 2015-08-29 20:44:13.693023222 -0400
|
|
@@ -118,7 +118,7 @@
|
|
r_opts->count++;
|
|
if (r_opts->count % STAR_COUNT == 0) {
|
|
if (r_opts->progress == 1) {
|
|
- fprintf(stdout, "\r%luk", (size_t) r_opts->count / STAR_COUNT );
|
|
+ fprintf(stdout, "\r%zuk", (size_t) r_opts->count / STAR_COUNT );
|
|
} else {
|
|
if (r_opts->nfile > 0) {
|
|
progress = (r_opts->count < r_opts->nfile) ? (100.0 * r_opts->count / r_opts->nfile) : 100;
|