mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 21:43:32 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
21 lines
831 B
Diff
21 lines
831 B
Diff
--- src/ftop.c.orig 2010-06-15 23:14:50.000000000 +0200
|
|
+++ src/ftop.c 2010-06-15 23:15:52.000000000 +0200
|
|
@@ -222,7 +222,7 @@
|
|
p_eol(p, part);
|
|
|
|
cols = snprintf(tmp_buf, sizeof(tmp_buf),
|
|
- "Processes: %u total, %u unreadable",
|
|
+ "Processes: %zu total, %zu unreadable",
|
|
s->num_processes + s->num_unreadable_processes,
|
|
s->num_unreadable_processes);
|
|
|
|
@@ -244,7 +244,7 @@
|
|
p_eol(p, part);
|
|
|
|
snprintf(tmp_buf, sizeof(tmp_buf),
|
|
- "Open Files: %u regular, %u dir, %u chr, %u blk, %u pipe, %u sock, %u misc",
|
|
+ "Open Files: %zu regular, %zu dir, %zu chr, %zu blk, %zu pipe, %zu sock, %zu misc",
|
|
s->num_reg, s->num_dir, s->num_chr, s->num_blk, s->num_pipe,
|
|
s->num_sock, s->num_misc);
|
|
|