diff options
author | Thomas Graf <tgraf@suug.ch> | 2012-11-15 23:42:34 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2012-11-15 23:42:34 (GMT) |
commit | 23c4ef67c735813fd41f66f6722b996d1ad7314a (patch) | |
tree | add54d965c816cb57d8c08ef172c7a61b007b03b /lib/utils.c | |
parent | 235aa7ff17e12ca7a76dcfd77abfe143c2ce4dea (diff) | |
download | libnl-23c4ef67c735813fd41f66f6722b996d1ad7314a.zip libnl-23c4ef67c735813fd41f66f6722b996d1ad7314a.tar.gz libnl-23c4ef67c735813fd41f66f6722b996d1ad7314a.tar.bz2 |
Use NL_DBG() instead of printing warnings and errors to stderr
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'lib/utils.c')
-rw-r--r-- | lib/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.c b/lib/utils.c index b5e32c3..b434bee 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -426,7 +426,7 @@ static void __init get_psched_settings(void) if (fscanf(fd, "%08x %08x %08x %08x", &ns_per_usec, &ns_per_tick, &nom, &denom) != 4) { - fprintf(stderr, "Fatal error: can not read psched settings from \"%s\". " \ + NL_DBG(1, "Fatal error: can not read psched settings from \"%s\". " \ "Try to set TICKS_PER_USEC, PROC_NET_PSCHED or PROC_ROOT " \ "environment variables\n", name); exit(1); |