From 6b1c46441cedcffd9e064e8b55d519f78debe039 Mon Sep 17 00:00:00 2001 From: Marcelo Araujo Date: Wed, 20 Apr 2016 01:38:54 +0000 Subject: [PATCH] Partially revert the change on r298325 where there is an (-1) casted to a pointer. Submitted by: pfg MFC after: 2 weeks. --- usr.bin/tftp/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index 2eaff80be86e..dc9ed8ce175e 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -749,7 +749,7 @@ 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; }