summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2013-03-10 10:20:20 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2013-03-10 10:20:20 +0800
commit1c755410155fc1e3dececa6779a8baf7735af66a (patch)
tree683a452eefd07d6a0260587f4911c1f104433787
parent1f76a9f133b4cd583fc9ea5eab51df3e17932d59 (diff)
downloadpttbbs-1c755410155fc1e3dececa6779a8baf7735af66a.tar
pttbbs-1c755410155fc1e3dececa6779a8baf7735af66a.tar.gz
pttbbs-1c755410155fc1e3dececa6779a8baf7735af66a.tar.bz2
pttbbs-1c755410155fc1e3dececa6779a8baf7735af66a.tar.lz
pttbbs-1c755410155fc1e3dececa6779a8baf7735af66a.tar.xz
pttbbs-1c755410155fc1e3dececa6779a8baf7735af66a.tar.zst
pttbbs-1c755410155fc1e3dececa6779a8baf7735af66a.zip
fix fprintf arg
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/daemon/angelbeats/angelbeats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/daemon/angelbeats/angelbeats.c b/pttbbs/daemon/angelbeats/angelbeats.c
index bcf3872e..d2677e4c 100644
--- a/pttbbs/daemon/angelbeats/angelbeats.c
+++ b/pttbbs/daemon/angelbeats/angelbeats.c
@@ -250,7 +250,7 @@ suggest_online_angel(int master_uid) {
if (!uid && !is_pause) {
uid = kanade->uid;
if (found++ < 5) {
- fprintf("%d.%s(assigned=%d/act=%d) ", found,
+ fprintf(stderr, "%d.%s(assigned=%d/act=%d) ", found,
kanade->userid, kanade->masters,
kanade->last_activity - clk,
kanade->last_assigned - clk);