summaryrefslogtreecommitdiffstats
path: root/usr.bin/tftp/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tftp/main.c')
-rw-r--r--usr.bin/tftp/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c
index 7d97a75..2eaff80 100644
--- a/usr.bin/tftp/main.c
+++ b/usr.bin/tftp/main.c
@@ -749,11 +749,11 @@ command(void)
if (margc == 0)
continue;
c = getcmd(margv[0]);
- if (c == (struct cmd *)-1) {
+ if (c == (struct cmd *) - 1) {
printf("?Ambiguous command\n");
continue;
}
- if (c == 0) {
+ if (c == NULL) {
printf("?Invalid command\n");
continue;
}
OpenPOWER on IntegriCloud