The following file was modified in apps/bluetooth/experimental:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
btsec.c 1.2 1.3=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Changed error in warning when no link key file.
The diff of the modified file(s):
--- btsec.c 24 May 2002 07:46:29 -0000 1.2
+++ btsec.c 31 Jul 2002 08:26:23 -0000 1.3
@@ -129,7 +129,7 @@
DEB_FUNCTIONS ("Enter in init_bt_sec\n");
/* Open the proc file */
if ((proc_fd =3D open (SEC_PROC_FILE_PATH, O_RDWR & (~O_NONBLOCK))) =3D=
=3D -1) {
- perror ("Error when opening the proc file\n");
+ perror ("Error when openening the proc file SEC_PROC_FILE_PATH\n");
return (ERR_OPEN_FILE);
}
else {
@@ -307,11 +307,11 @@
=20
/* Open the link key file */
if ((linkkey_fd =3D fopen (LINK_KEY_FILE_PATH, "r")) =3D=3D NULL) {
- ERR ("Error when opening the link key file\n");
+ fprintf (stderr, "btsec: warning : unable to open the link key file\n");
return (ERR_OPEN_FILE);
}
else {
- ERR ("No error when opening link key file\n");
+ DEB_MISC("Link key file opened\n");
}
=20
if (link_key_list.first !=3D NULL)
|