Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
davfs2
Fix-wrong-fscanf-format-in-umount.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-wrong-fscanf-format-in-umount.patch of Package davfs2
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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor