Skip to content
  • Vladimír Čunát's avatar
    257e5cbd
    lib/log kr_log_fmt(): pass parameters more properly · 257e5cbd
    Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
    Systemd docs say:
    > Those arguments must contain valid journal entries including
    > the variable name, e.g. "CODE_FILE=src/foo.c", [...]
    
    I tried that passing all three strings empty (without variable name)
    wouldn't result into the line getting logged; the suggested style does.
    257e5cbd
    lib/log kr_log_fmt(): pass parameters more properly
    Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
    Systemd docs say:
    > Those arguments must contain valid journal entries including
    > the variable name, e.g. "CODE_FILE=src/foo.c", [...]
    
    I tried that passing all three strings empty (without variable name)
    wouldn't result into the line getting logged; the suggested style does.
Loading