diff options
author | Marco d'Itri <md@Linux.IT> | 2005-11-07 18:44:18 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-07 18:44:18 +0100 |
commit | ff3e4bed21aaff673284f2e024da26c1e39cfda6 (patch) | |
tree | 41d3656f4ec95d0b3d7cc4d510501b7a2529c5b1 /udev_rules.c | |
parent | b6d474506f8935084e423f78035ea7206d4c3da0 (diff) |
add strerror() to error logs
Diffstat (limited to 'udev_rules.c')
-rw-r--r-- | udev_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_rules.c b/udev_rules.c index ad3629d39d..137ad27dba 100644 --- a/udev_rules.c +++ b/udev_rules.c @@ -208,7 +208,7 @@ static int import_file_into_env(struct udevice *udev, const char *filename) size_t bufsize; if (file_map(filename, &buf, &bufsize) != 0) { - err("can't open '%s'", filename); + err("can't open '%s': %s", filename, strerror(errno)); return -1; } import_keys_into_env(udev, buf, bufsize); |