aboutsummaryrefslogtreecommitdiffstats
path: root/src/satq.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-25 21:45:21 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-25 21:45:21 +0100
commit52fd86ab718439b6be29b8807dc52c71bc1567a6 (patch)
tree70b3e55b49145d829ebf8f83722f3a93e27119cc /src/satq.c
parentit shall be possible to slect jobs in satr (diff)
downloadsat-52fd86ab718439b6be29b8807dc52c71bc1567a6.tar.gz
sat-52fd86ab718439b6be29b8807dc52c71bc1567a6.tar.bz2
sat-52fd86ab718439b6be29b8807dc52c71bc1567a6.tar.xz
improve send_command
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/satq.c')
-rw-r--r--src/satq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/satq.c b/src/satq.c
index f1c29b2..73b61ac 100644
--- a/src/satq.c
+++ b/src/satq.c
@@ -62,7 +62,7 @@ main(int argc, char *argv[])
if (argc > 0) argv0 = argv[0];
if (argc > 1) usage();
- if (send_command(0, NULL))
+ if (send_command(SAT_PRINT, 0, NULL))
return errno ? (perror(argv0), 1) : 3;
return 0;
}