summaryrefslogtreecommitdiff
path: root/clients/zshutdown_notify
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1988-06-28 12:19:34 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1988-06-28 12:19:34 +0000
commit8a6e5e152c31a0c471bc8e488b172b0115422e9e (patch)
tree6b80601c408329b9e1e6d812700ae6ed3f4b895a /clients/zshutdown_notify
parentf573a32f26ac591332bdfa84df640995a4f7ad6a (diff)
fix up sizeof statement
Diffstat (limited to 'clients/zshutdown_notify')
-rw-r--r--clients/zshutdown_notify/zshutdown_notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/zshutdown_notify/zshutdown_notify.c b/clients/zshutdown_notify/zshutdown_notify.c
index 85f884a..1462b58 100644
--- a/clients/zshutdown_notify/zshutdown_notify.c
+++ b/clients/zshutdown_notify/zshutdown_notify.c
@@ -81,7 +81,7 @@ main(argc,argv)
ptr += strlen(ptr);
}
- bzero((char *)&notice, sizeof(ZNotice_t));
+ bzero((char *)&notice, sizeof(notice));
notice.z_kind = N_KIND;
notice.z_port = 0;