Details
Details
- Reviewers
lwhsu des - Commits
- rGb698093da430: nfsstat(1): Complete libxo transition
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| usr.bin/nfsstat/nfsstat.c | ||
|---|---|---|
| 86 | Please avoid contiguous blank lines. | |
| usr.bin/nfsstat/nfsstat.c | ||
|---|---|---|
| 507–508 | This should be xo_error(). | |
| usr.bin/nfsstat/nfsstat.c | ||
|---|---|---|
| 507–508 | Maybe use xo_err(1, "usage: nfsstat [-cdemszW] [-w wait]\n"); to replace the fprintf and exit function? | |
This comment was removed by yanhaowang.
| usr.bin/nfsstat/nfsstat.c | ||
|---|---|---|
| 507–508 | Ignore this, xo_err can't replace fprintf. | |
Comment Actions
- Use xo_error instead of fprintf.
- Decide using 1 and 0 instead of EXIT_FAILURE and EXIT_SUCESS.