summaryrefslogtreecommitdiff
path: root/zebra/zebra_fpm.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2017-12-01 17:46:02 -0200
committerGitHub <noreply@github.com>2017-12-01 17:46:02 -0200
commite0973eec67baa7a976c9cfc2b7af4386a28f638c (patch)
tree1322d2443437dc9afbe112152c0a6c9745e89a71 /zebra/zebra_fpm.c
parent493472ba8ecb44f21bc9cd85c1307262648d5bc3 (diff)
parent2d34fb80b81c929bcf0d2524b0f2383ee01ea5dc (diff)
Merge pull request #1433 from qlyoung/remove-deprecated-stream-macros
*: don't use deprecated stream.h macros
Diffstat (limited to 'zebra/zebra_fpm.c')
-rw-r--r--zebra/zebra_fpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_fpm.c b/zebra/zebra_fpm.c
index 0ffa55f1e4..7448292d9f 100644
--- a/zebra/zebra_fpm.c
+++ b/zebra/zebra_fpm.c
@@ -996,7 +996,7 @@ static int zfpm_write_cb(struct thread *thread)
break;
bytes_written =
- write(zfpm_g->sock, STREAM_PNT(s), bytes_to_write);
+ write(zfpm_g->sock, stream_pnt(s), bytes_to_write);
zfpm_g->stats.write_calls++;
num_writes++;