[Pkg-wmaker-commits] [wmbubble] 149/207: bubblemon.c: also call init_stuff if __FreeBSD_kernel__ defined (fixes segfault on kFreeBSD)

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 04:18:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmbubble.

commit e97aeeba5f52764eb31e0382403147a735a650fb
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Tue Jun 17 15:51:01 2014 -0600

    bubblemon.c: also call init_stuff if __FreeBSD_kernel__ defined (fixes segfault on kFreeBSD)
---
 bubblemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bubblemon.c b/bubblemon.c
index 1e51cae..ac0a516 100644
--- a/bubblemon.c
+++ b/bubblemon.c
@@ -404,7 +404,7 @@ int main(int argc, char **argv) {
 
 	argv++; argc--; /* Otherwise we'll make more of ourselves on a left click */
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 	if (init_stuff())
 		exit(-1);
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbubble.git



More information about the Pkg-wmaker-commits mailing list