mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 23:38:39 +00:00
analyze: fix plot with bad y size
systemd-analyze plot > test.svg produces output with all y and height element attributes equal to zero. This of course causes the resulting svg to appear blank (zero height). Bug does not affect x86. Looks like a compiler optimization may be the culprit. https://github.com/archlinuxarm/PKGBUILDs/issues/815 (cherry picked from commita213b7e977) (cherry picked from commit6e150a59ca)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
15934e2c81
commit
cf4985c752
@@ -41,7 +41,7 @@
|
||||
#include "pager.h"
|
||||
|
||||
#define SCALE_X (0.1 / 1000.0) /* pixels per us */
|
||||
#define SCALE_Y 20.0
|
||||
#define SCALE_Y (20.0)
|
||||
|
||||
#define compare(a, b) (((a) > (b))? 1 : (((b) > (a))? -1 : 0))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user