mirror of
https://github.com/systemd/systemd.git
synced 2025-02-06 01:57:47 +03:00
Add type specifier for int
This commit is contained in:
parent
6c767d1e1a
commit
0c900704e7
@ -272,7 +272,7 @@ static void do_journal_append(char *file) {
|
||||
ssize_t n;
|
||||
_cleanup_free_ char *bootchart_file = NULL, *bootchart_message = NULL,
|
||||
*p = NULL;
|
||||
_cleanup_close_ fd = -1;
|
||||
_cleanup_close_ int fd = -1;
|
||||
|
||||
bootchart_file = strappend("BOOTCHART_FILE=", file);
|
||||
if (bootchart_file)
|
||||
|
@ -2592,7 +2592,7 @@ char* dirname_malloc(const char *path) {
|
||||
int dev_urandom(void *p, size_t n) {
|
||||
static int have_syscall = -1;
|
||||
|
||||
_cleanup_close_ fd = -1;
|
||||
_cleanup_close_ int fd = -1;
|
||||
int r;
|
||||
|
||||
/* Gathers some randomness from the kernel. This call will
|
||||
|
Loading…
x
Reference in New Issue
Block a user