correct comment (replace i386 with __i386__)

This commit is contained in:
Alfred Perlstein 2002-05-30 07:12:12 +00:00
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

View file

@ -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);

View file

@ -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);