Projects
Factory:RISC-V:Base
util-linux
_service:tar_scm:backport-libblkid-topology-ini...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-libblkid-topology-init-variables-for-DM.patch of Package util-linux
From 819210f37d66949f54fb2f830bc62cb3635a83d5 Mon Sep 17 00:00:00 2001 From: Karel Zak <kzak@redhat.com> Date: Fri, 19 Aug 2022 11:40:27 +0200 Subject: [PATCH] libblkid: (topology) init variables for DM Addresses: https://github.com/util-linux/util-linux/issues/1776 Signed-off-by: Karel Zak <kzak@redhat.com> Reference:https://github.com/util-linux/util-linux/commit/819210f37d66949f54fb2f830bc62cb3635a83d5 Conflict:NA --- libblkid/src/topology/dm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libblkid/src/topology/dm.c b/libblkid/src/topology/dm.c index 1a1cb8ac0..77146e2e2 100644 --- a/libblkid/src/topology/dm.c +++ b/libblkid/src/topology/dm.c @@ -34,10 +34,10 @@ static int probe_dm_tp(blkid_probe pr, "/usr/sbin/dmsetup", "/sbin/dmsetup" }; - int dmpipe[] = { -1, -1 }, stripes, stripesize; + int dmpipe[] = { -1, -1 }, stripes = 0, stripesize = 0; const char *cmd = NULL; FILE *stream = NULL; - long long offset, size; + long long offset = 0, size = 0; size_t i; dev_t devno = blkid_probe_get_devno(pr); -- 2.31.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2