Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Staging:C
hdparm
hdparm-leak-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hdparm-leak-fix.patch of Package hdparm
--- hdparm.c.old 2009-08-02 22:08:56.000000000 +0200 +++ hdparm.c 2009-09-17 09:57:44.000000000 +0200 @@ -880,7 +880,7 @@ { __u64 start_lba; int i, err, shortened = 0; - char *fdevname = strdup(devname); + char *fdevname = strdupa(devname); err = get_dev_geometry(fd, NULL, NULL, NULL, &start_lba, NULL); if (err) @@ -891,7 +891,7 @@ } if (!shortened) - fdevname = strdup("the full disk"); + fdevname = strdupa("the full disk"); if (start_lba == 0ULL) return 0;
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