projects
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a96412
)
pstore: fix typo in error message - directoy -> directory
author
nikolas
<nikolas@gnu.org>
Wed, 4 Sep 2019 16:07:06 +0000
(12:07 -0400)
committer
Michael Biebl
<biebl@debian.org>
Tue, 19 Nov 2019 08:17:12 +0000
(08:17 +0000)
(cherry picked from commit
000e08ca70da3f05b6e71f4ef3a1c3373e1d1b0e
)
Gbp-Pq: Name pstore-fix-typo-in-error-message-directoy-directory.patch
src/pstore/pstore.c
patch
|
blob
|
history
diff --git
a/src/pstore/pstore.c
b/src/pstore/pstore.c
index df3efb3c8d1d1f2b113a4f16dede86055f5be0eb..c760b3e899ce36ee3cc4844166742861d56f19f4 100644
(file)
--- a/
src/pstore/pstore.c
+++ b/
src/pstore/pstore.c
@@
-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 directo
r
y %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);