summaryrefslogtreecommitdiff
path: root/package/xawtv/patches/patch-x11_rootv_c
blob: 8e3393f5467d66fd74ea2b5101f689746815a7ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- xawtv-3.102.orig/x11/rootv.c	2011-09-05 19:26:02.000000000 +0200
+++ xawtv-3.102/x11/rootv.c	2011-09-26 21:12:26.549340070 +0200
@@ -133,7 +133,7 @@ catch_sig(int signal)
     termsig = signal;
     if (verbose)
 	fprintf(stderr,"received signal %d [%s]\n",
-		termsig,sys_siglist[termsig]);
+		termsig,strsignal(termsig));
 }
 
 static void usage(FILE *fp)
@@ -422,7 +422,7 @@ main(int argc, char *argv[])
     }
     if (verbose && termsig)
 	fprintf(stderr,"exiting on signal %d [%s]\n",
-		termsig,sys_siglist[termsig]);
+		termsig,strsignal(termsig));
     if (do_mute && have_mute)
 	XvSetPortAttribute(dpy,port,XV_MUTE,1);
     XvStopVideo(dpy,port,win);