svn commit: r335360 - head/usr.bin/top

Eitan Adler eadler at FreeBSD.org
Tue Jun 19 05:01:09 UTC 2018


Author: eadler
Date: Tue Jun 19 05:01:07 2018
New Revision: 335360
URL: https://svnweb.freebsd.org/changeset/base/335360

Log:
  top(1): correct assertion

Modified:
  head/usr.bin/top/top.c

Modified: head/usr.bin/top/top.c
==============================================================================
--- head/usr.bin/top/top.c	Tue Jun 19 04:18:23 2018	(r335359)
+++ head/usr.bin/top/top.c	Tue Jun 19 05:01:07 2018	(r335360)
@@ -1169,7 +1169,7 @@ restart:
 					clear_message();
 				break;
 			    case CMD_NONE:
-					assert("reached switch without command");
+					assert(false && "reached switch without command");
 			}
 			}
 		    }


More information about the svn-src-all mailing list