diff options
author | Sam James <sam@gentoo.org> | 2023-01-06 12:39:10 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-01-06 14:03:19 +0100 |
commit | 4e11b54b317556c2aca70b9d5289bfef36f33984 (patch) | |
tree | 26f5aec3279b166569c2dc4cc29d36c75d181f7b /docs | |
parent | bootctl: Fix NULL pointer dereference (diff) | |
download | systemd-4e11b54b317556c2aca70b9d5289bfef36f33984.tar.xz systemd-4e11b54b317556c2aca70b9d5289bfef36f33984.zip |
CODING_STYLE: fix 'better' typo
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CODING_STYLE.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md index eec1240688..c96325b3fe 100644 --- a/docs/CODING_STYLE.md +++ b/docs/CODING_STYLE.md @@ -686,7 +686,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later - Do not use `basename()` or `dirname()`. The semantics in corner cases are full of pitfalls, and the fact that there are two quite different versions of `basename()` (one POSIX and one GNU, of which the latter is much more useful) - doesn't make it bette either. Use path_extract_filename() and + doesn't make it better either. Use path_extract_filename() and path_extract_directory() instead. - Never use `FILENAME_MAX`. Use `PATH_MAX` instead (for checking maximum size |