Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
davfs2.23454
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.23454
From 72669eaeaaba60c881eafb9e93f1364939c687a4 Mon Sep 17 00:00:00 2001 From: Ali Abdallah <aabdallah@suse.de> Date: Tue, 11 Jan 2022 13:46:53 +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