diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2009-01-12 22:14:10 +0100 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2009-01-12 23:43:35 +0100 |
| commit | c8285d9b313ea4ffa78262b5c278e1643befa298 (patch) | |
| tree | 49e08445aa7d3bf27960c131c9cddc3db5b40c61 /cli/stop.c | |
| parent | 7b8644dcc1a0db95c3ea321ebb8bc059ab931b42 (diff) | |
| download | btpd-c8285d9b313ea4ffa78262b5c278e1643befa298.tar.gz btpd-c8285d9b313ea4ffa78262b5c278e1643befa298.zip | |
Don't use the bsd err and warn family of functions. Solaris doesn't have them.
Diffstat (limited to 'cli/stop.c')
| -rw-r--r-- | cli/stop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/stop.c b/cli/stop.c index 218d7d6..031b00e 100644 --- a/cli/stop.c +++ b/cli/stop.c @@ -51,7 +51,7 @@ cmd_stop(int argc, char **argv) if (all) { enum ipc_err code = btpd_stop_all(ipc); if (code != IPC_OK) - errx(1, "%s", ipc_strerror(code)); + diemsg("command failed (%s).\n", ipc_strerror(code)); } else { for (int i = 0; i < argc; i++) if (torrent_spec(argv[i], &t)) |