From c8285d9b313ea4ffa78262b5c278e1643befa298 Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Mon, 12 Jan 2009 22:14:10 +0100 Subject: Don't use the bsd err and warn family of functions. Solaris doesn't have them. --- cli/stop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/stop.c') 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)) -- cgit 1.4.1