diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-06-07 03:47:00 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-06-07 03:47:00 +0000 |
commit | 68494e95e58383d441db1220c2f8295f0bdcc0df (patch) | |
tree | f5cb60ba6610e76630b09aede67bea3188d12c91 /init | |
parent | 2bef10e9d5fec74d59ed21ef3fbc948b1b8e9b3a (diff) | |
download | busybox-w32-68494e95e58383d441db1220c2f8295f0bdcc0df.tar.gz busybox-w32-68494e95e58383d441db1220c2f8295f0bdcc0df.tar.bz2 busybox-w32-68494e95e58383d441db1220c2f8295f0bdcc0df.zip |
Tito posted a devfsd error message fix. It's highly deprecated and will
presumably be removed eventually (use udev), but as long as it's in there.
Tito says:
The sense of this patch is to call:
read_config_file_err:
#ifdef CONFIG_DEVFSD_VERBOSE
msg_logger(((optional == 0 ) && (errno == ENOENT))? DIE : NO_DIE, LOG_ERR, "read config file: %s: %m\n", path);
#else
if(optional == 0 && errno == ENOENT)
exit(EXIT_FAILURE);
#endif
just after the failure of the call that set errno ( stat and fopen)
to avoid false error messages.
git-svn-id: svn://busybox.net/trunk/busybox@10480 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions