]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - play.c
play: Convert com_bg() to lopsub.
[paraslash.git] / play.c
diff --git a/play.c b/play.c
index e0ff240514fd1a575ac762acbb965cf9bdf0add9..2b43f3552a96c270b454a5b59e88f66061f9d98a 100644 (file)
--- a/play.c
+++ b/play.c
@@ -947,13 +947,13 @@ static int com_fg(struct play_task *pt,
 }
 EXPORT_PLAY_CMD_HANDLER(fg);
 
-static int com_bg(struct play_task *pt, int argc, __a_unused char **argv)
+static int com_bg(struct play_task *pt,
+       __a_unused struct lls_parse_result *lpr)
 {
-       if (argc != 1)
-               return -E_PLAY_SYNTAX;
        pt->background = true;
        return 0;
 }
+EXPORT_PLAY_CMD_HANDLER(bg);
 
 static int com_jmp(struct play_task *pt, int argc, char **argv)
 {