diff options
author | araujo <araujo@FreeBSD.org> | 2016-04-20 01:38:54 +0000 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2016-04-20 01:38:54 +0000 |
commit | 5329b494a9ff957d23e1bc526113796015e85f88 (patch) | |
tree | a79ab4b9cfefb43399a3b5df3d40f1f503db4bc0 /usr.bin | |
parent | 8a86a0eb0afd4dc0688774c05576caa4ef448e62 (diff) | |
download | FreeBSD-src-5329b494a9ff957d23e1bc526113796015e85f88.zip FreeBSD-src-5329b494a9ff957d23e1bc526113796015e85f88.tar.gz |
Partially revert the change on r298325 where there is an
(-1) casted to a pointer.
Submitted by: pfg
MFC after: 2 weeks.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tftp/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index 2eaff80..dc9ed8c 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; } |