diff options
author | Karel Zak | 2019-04-08 13:33:04 +0200 |
---|---|---|
committer | Karel Zak | 2019-04-08 15:16:23 +0200 |
commit | 6c9ab254aefb6ce7e0e032690791ad451f6b9408 (patch) | |
tree | c707dbeb4fa27c9e66a902ff94e98464d8df4816 /include/pathnames.h | |
parent | libmount: don't use sscanf() for mountinfo parsing (diff) | |
download | kernel-qcow2-util-linux-6c9ab254aefb6ce7e0e032690791ad451f6b9408.tar.gz kernel-qcow2-util-linux-6c9ab254aefb6ce7e0e032690791ad451f6b9408.tar.xz kernel-qcow2-util-linux-6c9ab254aefb6ce7e0e032690791ad451f6b9408.zip |
libmount: don't use sscanf() for swaps parsing
Addresses: https://github.com/karelzak/util-linux/issues/780
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r-- | include/pathnames.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/pathnames.h b/include/pathnames.h index 2e877cf32..bd29b640a 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -16,7 +16,6 @@ /* used by kernel in /proc (e.g. /proc/swaps) for deleted files */ #define PATH_DELETED_SUFFIX " (deleted)" -#define PATH_DELETED_SUFFIX_SZ (sizeof(PATH_DELETED_SUFFIX) - 1) /* DEFPATHs from <paths.h> don't include /usr/local */ #undef _PATH_DEFPATH |