diff options
author | 1988-06-28 12:19:34 +0000 | |
---|---|---|
committer | 1988-06-28 12:19:34 +0000 | |
commit | 8a6e5e152c31a0c471bc8e488b172b0115422e9e (patch) | |
tree | 6b80601c408329b9e1e6d812700ae6ed3f4b895a | |
parent | f573a32f26ac591332bdfa84df640995a4f7ad6a (diff) |
fix up sizeof statement
-rw-r--r-- | clients/zshutdown_notify/zshutdown_notify.c | 2 | ||||
-rw-r--r-- | clients/zwrite/zwrite.c | 2 |
2 files changed, 2 insertions, 2 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 *)¬ice, sizeof(ZNotice_t)); + bzero((char *)¬ice, sizeof(notice)); notice.z_kind = N_KIND; notice.z_port = 0; diff --git a/clients/zwrite/zwrite.c b/clients/zwrite/zwrite.c index 0f4abf5..0fd1c29 100644 --- a/clients/zwrite/zwrite.c +++ b/clients/zwrite/zwrite.c @@ -51,7 +51,7 @@ main(argc, argv) if (argc < 2) usage(whoami); - bzero((char *) ¬ice, sizeof(ZNotice_t)); + bzero((char *) ¬ice, sizeof(notice)); auth = ZAUTH; verbose = quiet = msgarg = nrecips = nocheck = 0; |