diff options
-rw-r--r-- | gl/lib/randread.c | 2 | ||||
-rw-r--r-- | src/chroot.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/gl/lib/randread.c b/gl/lib/randread.c index a073cab23..af85653f7 100644 --- a/gl/lib/randread.c +++ b/gl/lib/randread.c @@ -125,7 +125,7 @@ randread_error (void const *file_name) { if (file_name) error (exit_failure, errno, - _(errno == 0 ? "%s: end of file" : "%s: read error"), + errno == 0 ? _("%s: end of file") : _("%s: read error"), quotearg_colon (file_name)); abort (); } diff --git a/src/chroot.c b/src/chroot.c index fff0b533d..6c2d63f55 100644 --- a/src/chroot.c +++ b/src/chroot.c @@ -392,8 +392,7 @@ main (int argc, char **argv) #endif if ((uid_set (uid) || groups) && setgroups (n_gids, gids) != 0) - error (EXIT_CANCELED, errno, _("failed to %s supplemental groups"), - gids ? "set" : "clear"); + error (EXIT_CANCELED, errno, _("failed to set supplemental groups")); free (in_gids); free (out_gids); |