mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +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
@@ -257,7 +257,7 @@ grub_util_find_root_devices_from_poolname (char *poolname)
|
||||
ret = getline (&line, &len, fp);
|
||||
if (ret == -1)
|
||||
break;
|
||||
|
||||
|
||||
if (sscanf (line, " %s %256s %256s %256s %256s %256s",
|
||||
name, state, readlen, writelen, cksum, notes) >= 5)
|
||||
switch (st)
|
||||
@@ -305,7 +305,7 @@ grub_util_find_root_devices_from_poolname (char *poolname)
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
free (line);
|
||||
}
|
||||
|
||||
@@ -449,7 +449,7 @@ grub_find_device (const char *dir, dev_t dev)
|
||||
|
||||
cwd = xgetcwd ();
|
||||
res = xmalloc (strlen (cwd) + strlen (ent->d_name) + 3);
|
||||
sprintf (res,
|
||||
sprintf (res,
|
||||
#if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
/* Convert this block device to its character (raw) device. */
|
||||
"%s/r%s",
|
||||
|
||||
Reference in new issue
Block a user