Date: Fri, 05 Feb 1999 07:04:34 +0900 From: Jun Kuriyama <kuriyama@sky.rim.or.jp> To: committers <committers@FreeBSD.ORG> Subject: open(..., 0) Message-ID: <36BA1972.760066CB@sky.rim.or.jp>
next in thread | raw e-mail | index | archive | help
I'm planning to commit these changes under src/usr.sbin/pccard.
(a part of PAO integration)
Is this change right way?
Index: pccardc/dumpcis.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/pccard/pccardc/dumpcis.c,v
retrieving revision 1.9
diff -u -r1.9 dumpcis.c
--- dumpcis.c 1997/11/18 21:08:06 1.9
+++ dumpcis.c 1999/01/18 13:25:58
@@ -53,7 +53,7 @@
struct slotstate st;
sprintf(name, CARD_DEVICE, slot);
- fd = open(name, 0);
+ fd = open(name, O_RDONLY);
if (fd < 0)
return;
nocards++;
--
Jun Kuriyama // kuriyama@sky.rim.or.jp
// kuriyama@FreeBSD.ORG
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36BA1972.760066CB>
