Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2014 02:34:31 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272489 - head/lib/libproc
Message-ID:  <201410040234.s942YVR1044244@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sat Oct  4 02:34:30 2014
New Revision: 272489
URL: https://svnweb.freebsd.org/changeset/base/272489

Log:
  Remove an incorrect and useless debug print.
  
  X-MFC-With:	r272488

Modified:
  head/lib/libproc/proc_sym.c

Modified: head/lib/libproc/proc_sym.c
==============================================================================
--- head/lib/libproc/proc_sym.c	Fri Oct  3 23:20:37 2014	(r272488)
+++ head/lib/libproc/proc_sym.c	Sat Oct  4 02:34:30 2014	(r272489)
@@ -504,10 +504,8 @@ proc_name2ctf(struct proc_handle *p, con
 	prmap_t *map;
 	int error;
 
-	if ((map = proc_name2map(p, name)) == NULL) {
-		DPRINTFX("ERROR: couldn't find object %s", object);
+	if ((map = proc_name2map(p, name)) == NULL)
 		return (NULL);
-	}
 
 	return (ctf_open(map->pr_mapname, &error));
 #else



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