lkml.org 
[lkml]   [2017]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v4 4/4] KEYS: Print insert-sys-cert information to stdout instead of stderr
Date
Mehmet Kayaalp <mkayaalp@linux.vnet.ibm.com> wrote:

> +#define info(format, args...) fprintf(stdout, "INFO: " format, ## args)

Btw, you really ought to be using standard varargs macros:

#define info(format, ...) fprintf(stdout, "INFO: " format, ##__VA_LIST__)

But don't worry about that for now.

David

\
 
 \ /
  Last update: 2017-04-27 15:57    [W:0.074 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site