Skip to content

Commit f801465

Browse files
committed
Fix build warning
Addressing: openscap/src/OVAL/oval_probe.c: In function ‘oval_probe_query_object’: openscap/src/OVAL/oval_probe.c:145:15: warning: implicit declaration of function ‘oscap_sprintf’; did you mean ‘oscap_vsprintf’? [-Wimplicit-function-declaration] char *msg = oscap_sprintf("OVAL object '%s_object' is not supported.", type_name); ^~~~~~~~~~~~~ oscap_vsprintf openscap/src/OVAL/oval_probe.c:145:15: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1 parent 8617e44 commit f801465

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/OVAL/oval_probe.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
# include <pthread.h>
3434
#endif
3535

36+
#include "oscap_helpers.h"
3637
#include "oval_probe.h"
3738
#include "oval_system_characteristics.h"
3839
#include "common/_error.h"

0 commit comments

Comments
 (0)