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/cc2581bdd539
branches:  trunk
changeset: 831045:cc2581bdd539
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 c1753934d1c9 -r cc2581bdd539 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