aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-15 13:58:02 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-15 13:58:02 +0000
commit5070f8bc7870c1e65570849a29f5779741555f7c (patch)
treede2a4395a7ef44907cb9ac24e23b6fa7c06d6b82 /src/command.c
parentb4df8b8f880648e63781395e1a350f258b809a18 (diff)
downloadmpd-5070f8bc7870c1e65570849a29f5779741555f7c.tar.gz
mpd-5070f8bc7870c1e65570849a29f5779741555f7c.tar.xz
mpd-5070f8bc7870c1e65570849a29f5779741555f7c.zip
command.c: fix a format-string error (go sparse!)
git-svn-id: https://svn.musicpd.org/mpd/trunk@4356 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index ea7d0913b..8283c3961 100644
--- a/src/command.c
+++ b/src/command.c
@@ -218,7 +218,7 @@ static int handlePause(FILE * fp, unsigned int * permission,
char * test;
int pause = strtol(argArray[1],&test,10);
if(*test!='\0' || (pause!=0 && pause!=1)) {
- commandError(fp, ACK_ERROR_ARG, "\%s\" is not 0 or 1", argArray[1]);
+ commandError(fp, ACK_ERROR_ARG, "\"%s\" is not 0 or 1", argArray[1]);
return -1;
}
return playerSetPause(fp,pause);