shared: fix nm_sprintf_buf() macro to allow plain string
authorThomas Haller <thaller@redhat.com>
Fri, 19 Feb 2016 00:40:02 +0000 (01:40 +0100)
committerThomas Haller <thaller@redhat.com>
Fri, 19 Feb 2016 00:42:29 +0000 (01:42 +0100)
commit6d5e55870a00f44ab1421b5579ef8c309a7a615d
tree7c6f6d856593766fbbbd553aa560b54d3a799be5
parent719742513705877f60a8b1cf69f393e5f4eed30f
shared: fix nm_sprintf_buf() macro to allow plain string

Use non-portable gcc extension to allow for zero variadic
arguments so that you can pass a plain string as argument.
shared/nm-macros-internal.h