• Kir Kolyshkin's avatar
    zdtm: introduce and use pr_err() · e1e0f2ce
    Kir Kolyshkin authored
    Sometimes pr_perror() is used in places that don't have errno set.
    In such places, pr_perror() should not be used as it will print
    some nonsense.
    
    Introduce and use pr_err() for such cases.
    
    Now, I see sometimes fail() is used in such cases but I think
    it is reserved for places where test fails (rather than there is
    something that prevents the test from working).
    
    Also, sometimes test_msg() is used but it doesn't print source
    file name and line number.
    
    If there will be a need, we can unify pr_err() with say fail(),
    it will be easier to do after this patch.
    Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
    Acked-by: 's avatarAndrew Vagin <avagin@gmail.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    e1e0f2ce
Name
Last commit
Last update
..
app-emu Loading commit data...
bers Loading commit data...
crit Loading commit data...
ext-links Loading commit data...
fault-injection Loading commit data...
inhfd Loading commit data...
jenkins Loading commit data...
libcriu Loading commit data...
mem-snap Loading commit data...
mounts Loading commit data...
overlayfs Loading commit data...
pipes Loading commit data...
rpc Loading commit data...
security Loading commit data...
socketpairs Loading commit data...
tcp Loading commit data...
unix-callback Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
Makefile.zdtm Loading commit data...
app-emu.sh Loading commit data...
env.sh Loading commit data...
functions.sh Loading commit data...
inhfd.desc Loading commit data...
maps.py Loading commit data...
post-dump.sh Loading commit data...
zdtm.desc Loading commit data...
zdtm.py Loading commit data...
zdtm.sh Loading commit data...
zdtm_ct.c Loading commit data...
zdtm_mount_cgroups Loading commit data...