svn commit: r298327 - head/usr.bin/tftp
Marcelo Araujo
araujo at FreeBSD.org
Wed Apr 20 01:38:55 UTC 2016
Author: araujo
Date: Wed Apr 20 01:38:54 2016
New Revision: 298327
URL: https://svnweb.freebsd.org/changeset/base/298327
Log:
Partially revert the change on r298325 where there is an
(-1) casted to a pointer.
Submitted by: pfg
MFC after: 2 weeks.
Modified:
head/usr.bin/tftp/main.c
Modified: head/usr.bin/tftp/main.c
==============================================================================
--- head/usr.bin/tftp/main.c Wed Apr 20 01:35:09 2016 (r298326)
+++ head/usr.bin/tftp/main.c Wed Apr 20 01:38:54 2016 (r298327)
@@ -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;
}
More information about the svn-src-head
mailing list