diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-05 13:08:03 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-05 13:08:03 -0700 |
commit | c136c10f5967fa2224d5d0d63681486161cc2aba (patch) | |
tree | 4de7024f7a77ee972f6c11af1d2932ee92e9d8b7 /src/sound.c | |
parent | 5e2d4a30b2a30631701f8645cf4f626c7c765569 (diff) | |
download | emacs-c136c10f5967fa2224d5d0d63681486161cc2aba.tar.gz |
* sound.c (sound_warning): Don't crash if arg contains a printf format.
Diffstat (limited to 'src/sound.c')
-rw-r--r-- | src/sound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound.c b/src/sound.c index a2fe7ccc8ce..a972809e2c7 100644 --- a/src/sound.c +++ b/src/sound.c @@ -344,7 +344,7 @@ sound_perror (const char *msg) static void sound_warning (const char *msg) { - message (msg); + message ("%s", msg); } |