Skip to content

Commit

Permalink
fix(libscap): consistent SECOND_TO_NS definition
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <luca@guerra.sh>
  • Loading branch information
LucaGuerra authored and poiana committed Jul 20, 2023
1 parent cf74152 commit dca4292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libscap/linux/scap_machine_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ limitations under the License.
#include <sys/utsname.h>
#include <unistd.h>

#define SECOND_TO_NS 1000000000
#define SECOND_TO_NS 1000000000ULL

void scap_os_get_agent_info(scap_agent_info* agent_info)
{
Expand Down

0 comments on commit dca4292

Please sign in to comment.