2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

Use stderr for debug messages (v2)

Many programs use stdout for transferring data.

v2: remove debug code

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Andrey Vagin
2011-12-05 12:01:23 +04:00
committed by Cyrill Gorcunov
parent 53c611b630
commit e57a4c2945
2 changed files with 14 additions and 10 deletions

View File

@@ -7,6 +7,10 @@
#include "bitops.h"
#include "atomic.h"
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
/* prctl */
#define ARCH_SET_GS 0x1001
#define ARCH_SET_FS 0x1002