]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/ieee1275/ofpath.c (check_sas): Fix sas path.
authorIsao Shimizu <isaoshimizu@gmail.com>
Sat, 2 Jun 2012 12:53:23 +0000 (14:53 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 2 Jun 2012 12:53:23 +0000 (14:53 +0200)
ChangeLog
util/ieee1275/ofpath.c

index ad6032e8608d86670f995c04901138511b068e47..78eaed17ed7551339b83e9d6ad7cbcc885e712f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-02  Isao Shimizu  <isaoshimizu@gmail.com>
+
+       * util/ieee1275/ofpath.c (check_sas): Fix sas path.
+
 2012-06-02  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/normal/menu_entry.c (print_line): Fix off-by-one error which
index 03baceda83bec13b9b2eb0a3ceb54df916be5357..490f83af2f08f90506889b088093b8cd93128557 100644 (file)
@@ -337,9 +337,9 @@ check_sas (char *sysfs_path, int *tgt)
   *q = '\0';
 
   path_size = (strlen (p) + strlen (ed)
-              + sizeof ("%s/sas_device:%s/phy_identifier"));
+              + sizeof ("%s/sas_device/%s/phy_identifier"));
   path = xmalloc (path_size);
-  snprintf (path, path_size, "%s/sas_device:%s/phy_identifier", p, ed);
+  snprintf (path, path_size, "%s/sas_device/%s/phy_identifier", p, ed);
 
   fd = open (path, O_RDONLY);
   if (fd < 0)