Skip to content

Commit dd9160f

Browse files
committed
OVAL/probes: Use proper structure members for INT64 types in systemd probes
1 parent 3e6533e commit dd9160f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OVAL/probes/unix/linux/systemdshared.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,10 @@ static char *dbus_value_to_string(DBusMessageIter *iter)
261261

262262
#ifdef DBUS_HAVE_INT64
263263
case DBUS_TYPE_INT64:
264-
return oscap_sprintf("%lli", value.i32);
264+
return oscap_sprintf("%lli", value.i64);
265265

266266
case DBUS_TYPE_UINT64:
267-
return oscap_sprintf("%llu", value.u32);
267+
return oscap_sprintf("%llu", value.u64);
268268
#endif
269269

270270
case DBUS_TYPE_DOUBLE:

0 commit comments

Comments
 (0)