diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-13 15:08:55 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-13 15:10:12 +0200 |
commit | b49d9b50cfd377f28de0886330ba7bbd231fb472 (patch) | |
tree | 19135b6b49048e05a884efa07454ee1728d094b4 /src/udev/udevadm-settle.c | |
parent | 7ea07dcddafe573c699fc48171b57b912897e7e2 (diff) |
udev: fix a few issues detected by the llvm static analyzer
Diffstat (limited to 'src/udev/udevadm-settle.c')
-rw-r--r-- | src/udev/udevadm-settle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm-settle.c b/src/udev/udevadm-settle.c index d7fbc9e560..19c1e99ccb 100644 --- a/src/udev/udevadm-settle.c +++ b/src/udev/udevadm-settle.c @@ -53,7 +53,7 @@ static int adm_settle(struct udev *udev, int argc, char *argv[]) int quiet = 0; const char *exists = NULL; unsigned int timeout = 120; - struct pollfd pfd[1]; + struct pollfd pfd[1] = { {.fd = -1}, }; struct udev_queue *udev_queue = NULL; int rc = EXIT_FAILURE; |