mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
heavily rewrite the netboot support.
This commit is contained in:
1 parent
a2018f29ff
commit
9fe0449a36
36 files changed
+5132
-2080
No files matched your search
+6
-3
@@ -756,14 +756,17 @@ substring (char *s1, char *s2)
|
||||
|
||||
#ifndef STAGE1_5
|
||||
/* Terminate the string STR with NUL. */
|
||||
char *
|
||||
int
|
||||
nul_terminate (char *str)
|
||||
{
|
||||
int ch;
|
||||
|
||||
while (*str && ! grub_isspace (*str))
|
||||
str++;
|
||||
|
||||
*str++ = 0;
|
||||
return str;
|
||||
ch = *str;
|
||||
*str = 0;
|
||||
return ch;
|
||||
}
|
||||
|
||||
char *
|
||||
|
||||
Reference in new issue
Block a user