mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-12 21:57:27 +03:00
pstore: fix typo in error message - directoy -> directory
This commit is contained in:
parent
f7f9c69ac5
commit
000e08ca70
@ -157,7 +157,7 @@ static int move_file(PStoreEntry *pe, const char *subdir) {
|
||||
/* Move file from pstore to external storage */
|
||||
r = mkdir_parents(ofd_path, 0755);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to create directoy %s: %m", ofd_path);
|
||||
return log_error_errno(r, "Failed to create directory %s: %m", ofd_path);
|
||||
r = copy_file_atomic(ifd_path, ofd_path, 0600, 0, 0, COPY_REPLACE);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to copy_file_atomic: %s to %s", ifd_path, ofd_path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user