aboutsummaryrefslogtreecommitdiff
path: root/init/reboot.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-06-07 03:47:00 +0000
committerRob Landley <rob@landley.net>2005-06-07 03:47:00 +0000
commit06813d066b379ce74801a6c125213a03104fc4e1 (patch)
treef5cb60ba6610e76630b09aede67bea3188d12c91 /init/reboot.c
parent16cd02e01ed66758935250d8d7c0bee90608807c (diff)
downloadbusybox-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 'init/reboot.c')
0 files changed, 0 insertions, 0 deletions