File Fix-wrong-fscanf-format-in-umount.patch of Package davfs2.28634
From 9112d9f5059a41a06be89606b013a085a9e0630c Mon Sep 17 00:00:00 2001
From: Ali Abdallah <aabdallah@suse.de>
Date: Tue, 11 Jan 2022 13:48:00 +0100
Subject: [PATCH] Fix wrong fscanf format in umount.
---
src/umount_davfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/umount_davfs.c b/src/umount_davfs.c
index ef9ff4a..9fc02aa 100644
--- a/src/umount_davfs.c
+++ b/src/umount_davfs.c
@@ -150,7 +150,7 @@ main(int argc, char *argv[])
char *pid = NULL;
FILE *file = fopen(pidfile, "r");
- if (!file || fscanf(file, "%a[0-9]", &pid) != 1 || !pid) {
+ if (!file || fscanf(file, "%m[0-9]", &pid) != 1 || !pid) {
error(0, 0,
_("\n"
" can't read PID from file %s;\n"
--
2.26.2