command.c: fix a format-string error (go sparse!)
git-svn-id: https://svn.musicpd.org/mpd/trunk@4356 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
b4df8b8f88
commit
5070f8bc78
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user