diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-12-25 10:26:52 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 | 
| commit | e16d030c65ca97b1ba68b93ada93b1d4edde59d3 (patch) | |
| tree | e3a57a2e2887a899cad71c0640047b2b2409b5fa /vtysh | |
| parent | 70d4d90c82f3fb4eb552438422afb79e29a4dca0 (diff) | |
*: Convert THREAD_XXX macros to EVENT_XXX macros
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'vtysh')
| -rw-r--r-- | vtysh/vtysh.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 8fb57872eb..0a164ec16d 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -3730,7 +3730,7 @@ static void vtysh_log_print(struct vtysh_client *vclient,  static void vtysh_log_read(struct event *thread)  { -	struct vtysh_client *vclient = THREAD_ARG(thread); +	struct vtysh_client *vclient = EVENT_ARG(thread);  	struct {  		struct zlog_live_hdr hdr;  		char text[4096]; @@ -3769,7 +3769,7 @@ static void vtysh_log_read(struct event *thread)  				"log monitor connection closed unexpectedly");  		buf.hdr.textlen = strlen(buf.text); -		THREAD_OFF(vclient->log_reader); +		EVENT_OFF(vclient->log_reader);  		close(vclient->log_fd);  		vclient->log_fd = -1; @@ -3891,7 +3891,7 @@ DEFPY (no_vtysh_terminal_monitor,  			 * a close notification...  			 */  			if (vclient->log_fd != -1) { -				THREAD_OFF(vclient->log_reader); +				EVENT_OFF(vclient->log_reader);  				close(vclient->log_fd);  				vclient->log_fd = -1;  | 
