diff options
author | Rob Landley <rob@landley.net> | 2005-06-07 03:47:00 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-06-07 03:47:00 +0000 |
commit | 06813d066b379ce74801a6c125213a03104fc4e1 (patch) | |
tree | f5cb60ba6610e76630b09aede67bea3188d12c91 /include | |
parent | 16cd02e01ed66758935250d8d7c0bee90608807c (diff) | |
download | busybox-06813d066b379ce74801a6c125213a03104fc4e1.tar.gz |
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.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions