diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-02 16:02:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-02 16:02:45 +0000 |
commit | 1fef5f174d8d120fa3be64c10d6497f291d53e15 (patch) | |
tree | 5523e8c4d62a369023d89acfce62d96bba407754 /testing/gpm/error-format.patch | |
parent | 67884f9f2c007706edbf83c1060d4211cd5adf32 (diff) | |
download | aports-1fef5f174d8d120fa3be64c10d6497f291d53e15.tar.bz2 aports-1fef5f174d8d120fa3be64c10d6497f291d53e15.tar.xz |
testing/gpm: new aport
A mouse server for the console
http://www.nico.schottelius.org/software/gpm/
Diffstat (limited to 'testing/gpm/error-format.patch')
-rw-r--r-- | testing/gpm/error-format.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/gpm/error-format.patch b/testing/gpm/error-format.patch new file mode 100644 index 0000000000..8c9628f492 --- /dev/null +++ b/testing/gpm/error-format.patch @@ -0,0 +1,13 @@ +diff --git a/src/lib/report-lib.c b/src/lib/report-lib.c +index c0ae086..1b9754d 100644 +--- a/src/lib/report-lib.c ++++ b/src/lib/report-lib.c +@@ -47,7 +47,7 @@ void gpm_report(int line, char *file, int stat, char *text, ... ) + log_level = LOG_CRIT; break; + } + #ifdef HAVE_VSYSLOG +- syslog(log_level, string); ++ syslog(log_level, "%s", string); + vsyslog(log_level, text, ap); + #else + fprintf(stderr,"%s[%s(%d)]:\n",string,file,line); |