X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Futils.h;h=e09c0a9ae556f8ed3dc3a6d6a8a70f68cb69b5a9;hb=d72eb77f6e7a272889ad0eace21da52ae483800e;hp=2ea3d62ce0e92d8722154e5d4db3c83df06eee76;hpb=4b082b1252f03d83e732102b97bb6115da5728ab;p=lttng-tools.git diff --git a/src/common/utils.h b/src/common/utils.h index 2ea3d62ce..e09c0a9ae 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2012 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ @@ -47,8 +47,8 @@ int utils_create_lock_file(const char *filepath); int utils_recursive_rmdir(const char *path); int utils_truncate_stream_file(int fd, off_t length); int utils_show_help(int section, const char *page_name, const char *help_msg); -int utils_get_memory_available(size_t *value); -int utils_get_memory_total(size_t *value); +int utils_get_memory_available(uint64_t *value); +int utils_get_memory_total(uint64_t *value); int utils_change_working_directory(const char *path); enum lttng_error_code utils_user_id_from_name( const char *user_name, uid_t *user_id);