Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libsa Add missed file in previous commit.



details:   https://anonhg.NetBSD.org/src/rev/658293c0a643
branches:  trunk
changeset: 321277:658293c0a643
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Thu Mar 08 23:02:50 2018 +0000

description:
Add missed file in previous commit.

> efiboot: system can boot from CD/DVD-ROM media.

diffstat:

 sys/lib/libsa/cd9660.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r aec4733d793f -r 658293c0a643 sys/lib/libsa/cd9660.c
--- a/sys/lib/libsa/cd9660.c    Thu Mar 08 21:53:20 2018 +0000
+++ b/sys/lib/libsa/cd9660.c    Thu Mar 08 23:02:50 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd9660.c,v 1.30 2014/03/20 03:13:18 christos Exp $     */
+/*     $NetBSD: cd9660.c,v 1.31 2018/03/08 23:02:50 nonaka Exp $       */
 
 /*
  * Copyright (C) 1996 Wolfgang Solfrank.
@@ -71,7 +71,9 @@
 #define        PTFIXSZ         8
 #define        PTSIZE(pp)      roundup(PTFIXSZ + isonum_711((pp)->namlen), 2)
 
+#ifndef        cdb2devb
 #define        cdb2devb(bno)   ((bno) * ISO_DEFAULT_BLOCK_SIZE / DEV_BSIZE)
+#endif
 
 static int     pnmatch(const char *, struct ptable_ent *);
 static int     dirmatch(const char *, struct iso_directory_record *);



Home | Main Index | Thread Index | Old Index