Linux DTrace development list
 help / color / mirror / Atom feed
* [PATCH] Fix typo in conditional
@ 2026-08-28 18:48 Kris Van Hees
  2026-08-28 20:47 ` [DTrace-devel] " Elena Zannoni
  0 siblings, 1 reply; 2+ messages in thread
From: Kris Van Hees @ 2026-08-28 18:48 UTC (permalink / raw)
  To: dtrace, dtrace-devel

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
---
 libdtrace/dt_module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libdtrace/dt_module.c b/libdtrace/dt_module.c
index 00978911..b5c8d319 100644
--- a/libdtrace/dt_module.c
+++ b/libdtrace/dt_module.c
@@ -200,7 +200,7 @@ dt_module_init_elf(dtrace_hdl_t *dtp, dt_module_t *dmp)
 	int fd, err, bits;
 	size_t shstrs;
 
-	if (!dmp->dm_file[0] == '\0') {
+	if (dmp->dm_file[0] == '\0') {
 		dt_dprintf("failed to open ELF file for module %s: "
 		    "no file name known\n", dmp->dm_name);
 		return dt_set_errno(dtp, EDT_NOTLOADED);
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [DTrace-devel] [PATCH] Fix typo in conditional
  2026-08-28 18:48 [PATCH] Fix typo in conditional Kris Van Hees
@ 2026-08-28 20:47 ` Elena Zannoni
  0 siblings, 0 replies; 2+ messages in thread
From: Elena Zannoni @ 2026-08-28 20:47 UTC (permalink / raw)
  To: Kris Van Hees, dtrace, dtrace-devel


thanks Kris, 

Reviewed-by: Elena Zannoni <elena.zannoni@oracle.com>


On 8/28/26 12:48 PM, Kris Van Hees via DTrace-devel wrote:
> Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
> ---
>  libdtrace/dt_module.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libdtrace/dt_module.c b/libdtrace/dt_module.c
> index 00978911..b5c8d319 100644
> --- a/libdtrace/dt_module.c
> +++ b/libdtrace/dt_module.c
> @@ -200,7 +200,7 @@ dt_module_init_elf(dtrace_hdl_t *dtp, dt_module_t *dmp)
>  	int fd, err, bits;
>  	size_t shstrs;
>  
> -	if (!dmp->dm_file[0] == '\0') {
> +	if (dmp->dm_file[0] == '\0') {
>  		dt_dprintf("failed to open ELF file for module %s: "
>  		    "no file name known\n", dmp->dm_name);
>  		return dt_set_errno(dtp, EDT_NOTLOADED);
> -- 
> 2.52.0
>
>
> _______________________________________________
> DTrace-devel mailing list
> DTrace-devel@oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/dtrace-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-28 20:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28 18:48 [PATCH] Fix typo in conditional Kris Van Hees
2026-08-28 20:47 ` [DTrace-devel] " Elena Zannoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox