]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - isdn4k-utils/patches/015-isdn4k-utils-fix-ipppd.patch
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[people/ms/ipfire-3.x.git] / isdn4k-utils / patches / 015-isdn4k-utils-fix-ipppd.patch
CommitLineData
3b2006e0
SS
1*** isdn4k-utils-CVS-2010-05-01-patched/ipppd.org/main.c 1969-12-31 20:03:58.571929416 -0500
2--- isdn4k-utils-CVS-2010-05-01-patched/ipppd/main.c 2012-07-18 05:46:07.636040971 -0400
3***************
4*** 1301,1309 ****
5 * XXX We assume a va_list is either a pointer or an array, so
6 * what gets passed for a va_list is like a void * in some sense.
7 */
8 a = va_arg(args, void *);
9! #if defined(__alpha__) || defined(__sh__) /* always do this? */
10 n = fmtmsg(buf, buflen + 1, f, a);
11 #else
12 n = vfmtmsg(buf, buflen + 1, f, a);
13 #endif
14--- 1301,1309 ----
15 * XXX We assume a va_list is either a pointer or an array, so
16 * what gets passed for a va_list is like a void * in some sense.
17 */
18 a = va_arg(args, void *);
19! #if defined(__alpha__) || defined(__sh__) || defined ( __arm__ ) /* always do this? */
20 n = fmtmsg(buf, buflen + 1, f, a);
21 #else
22 n = vfmtmsg(buf, buflen + 1, f, a);
23 #endif