mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
correct comment (replace i386 with __i386__)
This commit is contained in:
parent
0196ba9cf8
commit
448f7629ea
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97553
2 changed files with 4 additions and 4 deletions
|
@ -643,7 +643,7 @@ makebootarea(char *boot, struct disklabel *dp, int f)
|
|||
if ((tmpbuf = (char *)malloc((int)dp->d_secsize)) == 0)
|
||||
err(4, "%s", xxboot);
|
||||
memcpy((void *)tmpbuf, (void *)boot, (int)dp->d_secsize);
|
||||
#endif /* i386 */
|
||||
#endif /* __i386__ */
|
||||
if (read(b, boot, (int)dp->d_secsize) < 0)
|
||||
err(4, "%s", xxboot);
|
||||
(void)close(b);
|
||||
|
@ -657,7 +657,7 @@ makebootarea(char *boot, struct disklabel *dp, int f)
|
|||
(void *)&tmpbuf[DOSPARTOFF],
|
||||
NDOSPART * sizeof(struct dos_partition));
|
||||
free(tmpbuf);
|
||||
#endif /* i386 */
|
||||
#endif /* __i386__ */
|
||||
b = open(bootxx, O_RDONLY);
|
||||
if (b < 0)
|
||||
err(4, "%s", bootxx);
|
||||
|
|
|
@ -643,7 +643,7 @@ makebootarea(char *boot, struct disklabel *dp, int f)
|
|||
if ((tmpbuf = (char *)malloc((int)dp->d_secsize)) == 0)
|
||||
err(4, "%s", xxboot);
|
||||
memcpy((void *)tmpbuf, (void *)boot, (int)dp->d_secsize);
|
||||
#endif /* i386 */
|
||||
#endif /* __i386__ */
|
||||
if (read(b, boot, (int)dp->d_secsize) < 0)
|
||||
err(4, "%s", xxboot);
|
||||
(void)close(b);
|
||||
|
@ -657,7 +657,7 @@ makebootarea(char *boot, struct disklabel *dp, int f)
|
|||
(void *)&tmpbuf[DOSPARTOFF],
|
||||
NDOSPART * sizeof(struct dos_partition));
|
||||
free(tmpbuf);
|
||||
#endif /* i386 */
|
||||
#endif /* __i386__ */
|
||||
b = open(bootxx, O_RDONLY);
|
||||
if (b < 0)
|
||||
err(4, "%s", bootxx);
|
||||
|
|
Loading…
Reference in a new issue