This commit is contained in:
parent
53300a0728
commit
ead55e15f8
@ -1,5 +1,5 @@
|
|||||||
--- hdparm.c 2009-09-16 17:10:58.000000000 +0200
|
--- hdparm.c.old 2009-08-02 22:08:56.000000000 +0200
|
||||||
+++ hdparm.c 2009-08-02 22:08:56.000000000 +0200
|
+++ hdparm.c 2009-09-17 09:57:44.000000000 +0200
|
||||||
@@ -880,7 +880,7 @@
|
@@ -880,7 +880,7 @@
|
||||||
{
|
{
|
||||||
__u64 start_lba;
|
__u64 start_lba;
|
||||||
@ -9,3 +9,12 @@
|
|||||||
|
|
||||||
err = get_dev_geometry(fd, NULL, NULL, NULL, &start_lba, NULL);
|
err = get_dev_geometry(fd, NULL, NULL, NULL, &start_lba, NULL);
|
||||||
if (err)
|
if (err)
|
||||||
|
@@ -891,7 +891,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!shortened)
|
||||||
|
- fdevname = strdup("the full disk");
|
||||||
|
+ fdevname = strdupa("the full disk");
|
||||||
|
|
||||||
|
if (start_lba == 0ULL)
|
||||||
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user