diff --git a/ChangeLog b/ChangeLog index ad6032e86..78eaed17e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-06-02 Isao Shimizu + + * util/ieee1275/ofpath.c (check_sas): Fix sas path. + 2012-06-02 Vladimir Serbinenko * grub-core/normal/menu_entry.c (print_line): Fix off-by-one error which diff --git a/util/ieee1275/ofpath.c b/util/ieee1275/ofpath.c index 03baceda8..490f83af2 100644 --- a/util/ieee1275/ofpath.c +++ b/util/ieee1275/ofpath.c @@ -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)