Replace stpcpy with grub_stpcpy in tools.
This commit is contained in:
parent
bbdd6305db
commit
ba44ca6d1a
4 changed files with 10 additions and 6 deletions
|
@ -289,10 +289,10 @@ cmd_cmp (char *src, char *dest)
|
|||
+ strlen (entry->d_name));
|
||||
destnew = xmalloc (strlen (dest) + sizeof ("/")
|
||||
+ strlen (entry->d_name));
|
||||
ptr = stpcpy (srcnew, src);
|
||||
ptr = grub_stpcpy (srcnew, src);
|
||||
*ptr++ = '/';
|
||||
strcpy (ptr, entry->d_name);
|
||||
ptr = stpcpy (destnew, dest);
|
||||
ptr = grub_stpcpy (destnew, dest);
|
||||
*ptr++ = '/';
|
||||
strcpy (ptr, entry->d_name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue