Skip to content

Commit e5b90b3

Browse files
poetteringbluca
authored andcommitted
random-seed: add missing %m in error message
1 parent caeaca1 commit e5b90b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/random-seed/random-seed.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ static int run(int argc, char *argv[]) {
263263
* ourselves the mode and owner should be correct anyway. */
264264
r = fchmod_and_chown(seed_fd, 0600, 0, 0);
265265
if (r < 0)
266-
return log_error_errno(r, "Failed to adjust seed file ownership and access mode.");
266+
return log_error_errno(r, "Failed to adjust seed file ownership and access mode: %m");
267267

268268
/* Let's make this whole job asynchronous, i.e. let's make ourselves a barrier for
269269
* proper initialization of the random pool. */

0 commit comments

Comments
 (0)