home: fix typo

Follow-up for 25c89b8977 and
a4d72746c7.
This commit is contained in:
Yu Watanabe 2024-02-20 09:24:24 +09:00
parent 5ad2874b24
commit 4b6d8de09c
2 changed files with 2 additions and 2 deletions

View file

@ -531,7 +531,7 @@
<term><option>--avatar=</option><replaceable>PATH</replaceable></term>
<term><option>--login-background=</option><replaceable>PATH</replaceable></term>
<listitem><para>Accept a file path. If set, the specifified file is used to overwrite the
<listitem><para>Accept a file path. If set, the specified file is used to overwrite the
corresponding file in the user's blob directory. If blank, the corresponding file is deleted
from the blob directory. Essentially, these options are shortcuts to
<option>--blob=</option><replaceable>FILENAME</replaceable>=<replaceable>PATH</replaceable>

View file

@ -119,7 +119,7 @@ int bus_message_read_blobs(sd_bus_message *m, Hashmap **ret, sd_bus_error *error
return -errno;
/* Refuse fds w/ unexpected flags set. In particular, we don't want to permit O_PATH FDs, since
* those don't actually guarentee that the client has access to the file. */
* those don't actually guarantee that the client has access to the file. */
if ((flags & ~(O_ACCMODE|RAW_O_LARGEFILE)) != 0)
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "FD for %s has unexpected flags set", filename);