[Git][lvmteam/lvm2][main] debug: missed properly modify pointer type

Zdeněk Kabeláč (@zdenek.kabelac) <[email protected]>
Newsgroups gmane.linux.lvm.devel
Message-ID <64b056326b5e8_282d2622862915@gitlab-sidekiq-low-urgency-cpu-bound-v2-db56db498-cz9p7.mail>

Zdeněk Kabeláč pushed to branch main at LVM team / lvm2


Commits:
97fc0ca4 by Zdenek Kabelac at 2023-07-13T21:52:20+02:00
debug: missed properly modify pointer type

- - - - -


1 changed file:

- lib/log/log.c


Changes:

=====================================
lib/log/log.c
=====================================
@@ -248,7 +248,7 @@ static int _get_pid_starttime(int *pid, unsigned long long *starttime)
 		    "%*d %*u %*u %*u %*u " /* mjflt */
 		    "%*u %*u %*u %*d %*d " /* cstim */
 		    "%*d %*d %*d %*d " /* itrealvalue */
-		    "%llu", &starttime) == 1))
+		    "%llu", starttime) == 1))
 		return 1;
 
 	log_debug("Cannot parse content of %s.", statfile);



View it on GitLab: https://gitlab.com/lvmteam/lvm2/-/commit/97fc0ca49bdb37ae0a094c45ab6a1bc9f31a38a2

-- 
View it on GitLab: https://gitlab.com/lvmteam/lvm2/-/commit/97fc0ca49bdb37ae0a094c45ab6a1bc9f31a38a2
You're receiving this email because of your account on gitlab.com.

--
lvm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/lvm-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.