Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2018 05:01:08 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335360 - head/usr.bin/top
Message-ID:  <201806190501.w5J5188t026394@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");
 			}
 			}
 		    }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806190501.w5J5188t026394>