2007-07-14 14:33:56

by Filippo Giunchedi

[permalink] [raw]
Subject: [Bluez-devel] [[email protected]: [Pkg-bluetooth-maintainers] Bug#433080: pand: erroneous log message, %d not substituted]

Hi,
my best guess about this is to use devname instead of netdev in pand/main.c

275 syslog(LOG_INFO, "New connection from %s %s",
276 str, netdev);

comments?

thanks,
filippo

----- Forwarded message from martin f krafft <[email protected]> -----

Date: Sat, 14 Jul 2007 10:00:43 +0200
From: martin f krafft <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Message-ID: <[email protected]>
User-Agent: Mutt/1.5.16 (2007-06-11)
Subject: [Pkg-bluetooth-maintainers] Bug#433080: pand: erroneous log message,
%d not substituted
Reply-To: martin f krafft <[email protected]>, [email protected]
Sender: pkg-bluetooth-maintainers-bounces+filippo=esaurito.net@lists.alioth.debian.org

Package: bluez-utils
Version: 3.7-1
Severity: minor

Jun 2 11:47:50 piper pand[17876]: New connection from
00:19:63:98:9E:EC bnep%d

That %d should probably be interpolated.

-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bluez-utils depends on:
ii dbus 1.1.1-3 simple interprocess messaging syst
ii libbluetooth2 3.12-1 Library to use the BlueZ Linux Blu
ii libc6 2.6-2 GNU C Library: Shared libraries
ii libdbus-1-3 1.1.1-3 simple interprocess messaging syst
ii libusb-0.1-4 2:0.1.12-7 userspace USB programming library
ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip
ii makedev 2.3.1-83 creates device files in /dev
ii module-init-tools 3.3-pre11-4 tools for managing Linux kernel mo
ii udev 0.105-4 /dev/ and hotplug management daemo

Versions of packages bluez-utils recommends:
pn bluez-passkey-gnome <none> (no description available)

-- no debconf information

--
.''`. martin f. krafft <[email protected]>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems



_______________________________________________
Pkg-bluetooth-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-bluetooth-maintainers

----- End forwarded message -----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2007-07-14 14:52:48

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] [[email protected]: [Pkg-bluetooth-maintainers] Bug#433080: pand: erroneous log message, %d not substituted]

Hi Filippo,

> my best guess about this is to use devname instead of netdev in pand/main.c
>
> 275 syslog(LOG_INFO, "New connection from %s %s",
> 276 str, netdev);
>
> comments?

already fixed that.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel