diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-15 22:31:22 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-15 22:31:22 +0000 |
commit | 80c7cc1c8f027fcf5d5f0a2df4b9aef6904ed079 (patch) | |
tree | f34884b5132e36e8b0946f07dc1cf090047af8fb /usr.sbin | |
parent | 14a0ca29fe703fdb1903fd229ad762a1192690c7 (diff) | |
download | src-test2-80c7cc1c8f027fcf5d5f0a2df4b9aef6904ed079.tar.gz src-test2-80c7cc1c8f027fcf5d5f0a2df4b9aef6904ed079.zip |
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/keyserv/keyserv.c | 2 | ||||
-rw-r--r-- | usr.sbin/lmcconfig/lmcconfig.c | 2 | ||||
-rw-r--r-- | usr.sbin/mountd/mountd.c | 6 | ||||
-rw-r--r-- | usr.sbin/nfscbd/nfscbd.c | 2 | ||||
-rw-r--r-- | usr.sbin/nfsd/nfsd.c | 2 | ||||
-rw-r--r-- | usr.sbin/pmcstudy/pmcstudy.c | 2 | ||||
-rw-r--r-- | usr.sbin/portsnap/phttpget/phttpget.c | 2 | ||||
-rw-r--r-- | usr.sbin/ppp/radius.c | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/keyserv/keyserv.c b/usr.sbin/keyserv/keyserv.c index 79bf90d0f1df..8acbaf699d9c 100644 --- a/usr.sbin/keyserv/keyserv.c +++ b/usr.sbin/keyserv/keyserv.c @@ -440,7 +440,7 @@ key_net_put_2_svc_prog(uid, arg) arg->st_netname, (int)sizeof (arg->st_pub_key), arg->st_pub_key, (int)sizeof (arg->st_priv_key), arg->st_priv_key); - }; + } status = pk_netput(uid, arg); diff --git a/usr.sbin/lmcconfig/lmcconfig.c b/usr.sbin/lmcconfig/lmcconfig.c index f720e634f8ff..eb80dbe31495 100644 --- a/usr.sbin/lmcconfig/lmcconfig.c +++ b/usr.sbin/lmcconfig/lmcconfig.c @@ -1528,7 +1528,7 @@ print_test_pattern(int patt) case 11: printf("framed X^23+X^18+1\n"); break; - case 12:; + case 12: printf("framed X^11+X^9+1 w/7ZS\n"); break; case 13: diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index d6da2bc9c24c..a9464f68fe48 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -434,7 +434,7 @@ main(int argc, char **argv) break; default: usage(); - }; + } if (modfind("nfsd") < 0) { /* Not present in kernel, try loading it */ @@ -1241,7 +1241,7 @@ xdr_fhs(XDR *xdrsp, caddr_t cp) return (0); return (xdr_long(xdrsp, &auth)); } - }; + } return (0); } @@ -2540,7 +2540,7 @@ do_mount(struct exportlist *ep, struct grouplist *grp, int exflags, *cp = savedc; ret = 1; goto error_exit; - }; + } /* * For V4:, use the nfssvc() syscall, instead of mount(). diff --git a/usr.sbin/nfscbd/nfscbd.c b/usr.sbin/nfscbd/nfscbd.c index c9153b432f1e..4bcfd6ea95da 100644 --- a/usr.sbin/nfscbd/nfscbd.c +++ b/usr.sbin/nfscbd/nfscbd.c @@ -177,7 +177,7 @@ main(int argc, char *argv[]) default: case '?': usage(); - }; + } argv += optind; argc -= optind; diff --git a/usr.sbin/nfsd/nfsd.c b/usr.sbin/nfsd/nfsd.c index f58ed30023ae..349ba8e60929 100644 --- a/usr.sbin/nfsd/nfsd.c +++ b/usr.sbin/nfsd/nfsd.c @@ -214,7 +214,7 @@ main(int argc, char **argv) default: case '?': usage(); - }; + } if (!tcpflag && !udpflag) udpflag = 1; argv += optind; diff --git a/usr.sbin/pmcstudy/pmcstudy.c b/usr.sbin/pmcstudy/pmcstudy.c index 16c9f5148334..e94addfb5700 100644 --- a/usr.sbin/pmcstudy/pmcstudy.c +++ b/usr.sbin/pmcstudy/pmcstudy.c @@ -2873,7 +2873,7 @@ main(int argc, char **argv) printf("-A -- Run all canned tests\n"); return(0); break; - }; + } } if ((run_all == 0) && (name == NULL) && (filename == NULL) && (test_mode == 0) && (master_exp == NULL)) { diff --git a/usr.sbin/portsnap/phttpget/phttpget.c b/usr.sbin/portsnap/phttpget/phttpget.c index 1bf6d9d5b153..33e969a63ed3 100644 --- a/usr.sbin/portsnap/phttpget/phttpget.c +++ b/usr.sbin/portsnap/phttpget/phttpget.c @@ -598,7 +598,7 @@ main(int argc, char *argv[]) fd = open(fname, O_CREAT | O_TRUNC | O_WRONLY, 0644); if (fd == -1) errx(1, "open(%s)", fname); - }; + } /* Read the message and send data to fd if appropriate */ if (chunked) { diff --git a/usr.sbin/ppp/radius.c b/usr.sbin/ppp/radius.c index f79814125eef..12b0c0f9a6e7 100644 --- a/usr.sbin/ppp/radius.c +++ b/usr.sbin/ppp/radius.c @@ -1150,7 +1150,7 @@ radius_Account(struct radius *r, struct radacct *ac, struct datalink *dl, snprintf(ac->multi_session_id, sizeof ac->multi_session_id, "%s", dl->bundle->ncp.mp.active ? dl->bundle->ncp.mp.server.socket.sun_path : ""); - }; + } if (rad_put_string(r->cx.rad, RAD_USER_NAME, ac->user_name) != 0 || rad_put_int(r->cx.rad, RAD_SERVICE_TYPE, RAD_FRAMED) != 0 || |