X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fshared%2Futil.h;h=5818fee82e52f48be4bdd9c1fdea8c0ee5f169a9;hb=2695c5c44e028d1bc07404baf3357e5a6017fc57;hp=84453713caebd2f164a498aa12a5f251eb1ab6d0;hpb=302fbdf29eb0ad4ca1fe8ee18755edad7db11b37;p=elogind.git diff --git a/src/shared/util.h b/src/shared/util.h index 84453713c..5818fee82 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -993,6 +993,7 @@ union file_handle_union { struct file_handle handle; char padding[sizeof(struct file_handle) + MAX_HANDLE_SZ]; }; +#define FILE_HANDLE_INIT { .handle.handle_bytes = MAX_HANDLE_SZ } int update_reboot_param_file(const char *param);