aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/player.c b/src/player.c
index 4b96f8584..b4b4e8b74 100644
--- a/src/player.c
+++ b/src/player.c
@@ -386,8 +386,7 @@ int playerSeek(FILE * fp, Song * song, float time) {
PlayerControl * pc = &(getPlayerData()->playerControl);
if(pc->state==PLAYER_STATE_STOP) {
- myfprintf(fp,"%s player not currently playing\n",
- COMMAND_RESPOND_ERROR);
+ commandError(fp, "player not currently playing");
return -1;
}