summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2019-04-08 13:33:04 +0200
committerKarel Zak2019-04-08 14:45:56 +0200
commit86673b3a462a3e253f791a963ad05da27acfe133 (patch)
tree10c3767dbdf8bf5de0600c5f20de6d723bd02c56 /include
parentlibmount: don't use sscanf() for fstab parsing (diff)
downloadkernel-qcow2-util-linux-86673b3a462a3e253f791a963ad05da27acfe133.tar.gz
kernel-qcow2-util-linux-86673b3a462a3e253f791a963ad05da27acfe133.tar.xz
kernel-qcow2-util-linux-86673b3a462a3e253f791a963ad05da27acfe133.zip
libmount: don't use sscanf() for mountinfo parsing
Addresses: https://github.com/karelzak/util-linux/issues/780 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/pathnames.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index ed8ea330d..2e877cf32 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -15,7 +15,7 @@
#endif
/* used by kernel in /proc (e.g. /proc/swaps) for deleted files */
-#define PATH_DELETED_SUFFIX "\\040(deleted)"
+#define PATH_DELETED_SUFFIX " (deleted)"
#define PATH_DELETED_SUFFIX_SZ (sizeof(PATH_DELETED_SUFFIX) - 1)
/* DEFPATHs from <paths.h> don't include /usr/local */