Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
mdadm.14070
0168-Manage_subdevs-Use-a-dev_t.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0168-Manage_subdevs-Use-a-dev_t.patch of Package mdadm.14070
From ffaf1a7eefc6167d7457d649e628c04ccee9a4dd Mon Sep 17 00:00:00 2001 From: Jes Sorensen <jsorensen@fb.com> Date: Fri, 29 Sep 2017 18:08:01 -0400 Subject: [PATCH] Manage_subdevs(): Use a dev_t Git-commit: ffaf1a7eefc6167d7457d649e628c04ccee9a4dd Patch-mainline: mdadm-4.0+ References: bsc#1069165, bsc#1069167, bsc#1068030 Use the correct type for rdev Signed-off-by: Jes Sorensen <jsorensen@fb.com> Signed-off-by: Coly Li <colyli@suse.de> --- Manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Manage.c b/Manage.c index 871d342..21536f5 100644 --- a/Manage.c +++ b/Manage.c @@ -1367,7 +1367,7 @@ int Manage_subdevs(char *devname, int fd, } for (dv = devlist; dv; dv = dv->next) { - unsigned long rdev = 0; /* device to add/remove etc */ + dev_t rdev = 0; /* device to add/remove etc */ int rv; int mj,mn; -- 2.13.6
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