mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
osdep: Remove trailing whitespaces
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
8ff08468d3
commit
55e237b57d
22 files changed
+46
-46
No files matched your search
@@ -66,7 +66,7 @@ grub_util_find_partition_start_os (const char *dev)
|
||||
if (ioctl (fd, B_GET_GEOMETRY, &geo, sizeof (geo)) < 0)
|
||||
return 0;
|
||||
ret /= geo.bytes_per_sector ? : 512;
|
||||
close (fd);
|
||||
close (fd);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ grub_util_get_fd_size_os (grub_util_fd_t fd,
|
||||
{
|
||||
device_geometry part;
|
||||
unsigned lg;
|
||||
if (ioctl (fd, B_GET_GEOMETRY, &part, sizeof (part)) < 0)
|
||||
if (ioctl (fd, B_GET_GEOMETRY, &part, sizeof (part)) < 0)
|
||||
return -1;
|
||||
for (lg = 0; (1 << lg) < part.bytes_per_sector; lg++);
|
||||
if (log_secsize)
|
||||
|
||||
Reference in new issue
Block a user