diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2026-01-12 09:15:03 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-01-12 10:56:37 +0100 |
| commit | 5ff038473e3f3d6a84e69c712446ba3e200aa9b2 (patch) | |
| tree | 931d4565e19c3c5075778581e951fe7ead83bb18 /nix/libutil/affinity.cc | |
| parent | 94579edc3fa4bd67ffe98c4170f391a2dd9b140a (diff) | |
daemon: Fix several format strings.
This is a followup to 3af52f845fe2ceb448416ac7b9f48925673c594e and
6f1448ef89c8ad29e2a479099531fd3a87701e46.
* nix/libstore/local-store.cc (LocalStore::queryValidPathId): Change %1% to {}.
* nix/libstore/optimise-store.cc (LocalStore::optimisePath_): Likewise.
* nix/nix-daemon/guix-daemon.cc (open_unix_domain_socket): Likewise.
(main): Likewise.
* nix/libutil/affinity.cc (restoreAffinity): Remove useless %1%.
Change-Id: I3a7cd79cd69ab58f14118662f1dcf2fef067a6b7
Diffstat (limited to 'nix/libutil/affinity.cc')
| -rw-r--r-- | nix/libutil/affinity.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libutil/affinity.cc b/nix/libutil/affinity.cc index 53500c22ab9..38270c0eb4c 100644 --- a/nix/libutil/affinity.cc +++ b/nix/libutil/affinity.cc @@ -49,7 +49,7 @@ void restoreAffinity() #if HAVE_SCHED_SETAFFINITY if (!didSaveAffinity) return; if (sched_setaffinity(0, sizeof(cpu_set_t), &savedAffinity) == -1) - printMsg(lvlError, "failed to restore affinity %1%"); + printMsg(lvlError, "failed to restore affinity"); #endif } |
