diff options
author | plunky <plunky@pkgsrc.org> | 2007-02-20 19:05:51 +0000 |
---|---|---|
committer | plunky <plunky@pkgsrc.org> | 2007-02-20 19:05:51 +0000 |
commit | cff303b9d7169016d2e236bf49e2c2b24b014769 (patch) | |
tree | 7e7d7aef8ae73d53c0bd14663b50cdd2fedac232 /comms/obexapp/patches | |
parent | 17d4eb5978f712cd4c83450bd351a1a2812cd391 (diff) | |
download | pkgsrc-cff303b9d7169016d2e236bf49e2c2b24b014769.tar.gz |
correct fix for FreeBSDism
Diffstat (limited to 'comms/obexapp/patches')
-rw-r--r-- | comms/obexapp/patches/patch-ad | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comms/obexapp/patches/patch-ad b/comms/obexapp/patches/patch-ad index e69d3ee8f99..fb24ab56dc9 100644 --- a/comms/obexapp/patches/patch-ad +++ b/comms/obexapp/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.2 2006/07/09 16:35:31 xtraeme Exp $ +$NetBSD: patch-ad,v 1.3 2007/02/20 19:05:51 plunky Exp $ --- main.c.orig 2006-07-09 18:28:27.000000000 +0200 +++ main.c 2006-07-09 18:28:37.000000000 +0200 @@ -7,7 +7,7 @@ $NetBSD: patch-ad,v 1.2 2006/07/09 16:35:31 xtraeme Exp $ &context.addr.rfcomm_bdaddr, service, &channel, &n) != 0) - errc(1, n, "Could not obtain RFCOMM channel"); -+ errx(1, "Could not obtain RFCOMM channel"); ++ errx(1, "Could not obtain RFCOMM channel: %s", strerror(n)); context.addr.rfcomm_channel = (u_int8_t) channel; } |