diff options
author | Jan Synacek <jsynacek@redhat.com> | 2013-09-12 12:13:46 +0200 |
---|---|---|
committer | Jan Synacek <jsynacek@redhat.com> | 2013-09-12 12:13:46 +0200 |
commit | cfa3ea986239abdc4f4923bd7a415f6c342c0d66 (patch) | |
tree | b1eb6fb3881638241d6cf16903d5dd8f2018a966 | |
parent | 8dbd4f1f39c66309806642532635de2a764fa738 (diff) | |
download | openlmi-providers-cfa3ea986239abdc4f4923bd7a415f6c342c0d66.tar.gz openlmi-providers-cfa3ea986239abdc4f4923bd7a415f6c342c0d66.tar.xz openlmi-providers-cfa3ea986239abdc4f4923bd7a415f6c342c0d66.zip |
logicalfile: warn if udev context creation fails
-rw-r--r-- | src/logicalfile/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logicalfile/file.c b/src/logicalfile/file.c index e6968de..ca0d9f4 100644 --- a/src/logicalfile/file.c +++ b/src/logicalfile/file.c @@ -165,6 +165,7 @@ int get_fsname_from_stat(const struct stat *sb, char **fname) if (!udev_ctx) { udev_ctx = udev_new(); if (!udev_ctx) { + lmi_warn("Could not create udev context"); rc = -1; goto err; } |