diff options
author | Kay Sievers <kay@vrfy.org> | 2014-11-13 13:11:04 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-11-13 13:12:57 +0100 |
commit | 25e773eeb4f853804e1bf0dbd9a184f23e9b2a97 (patch) | |
tree | b8fe0c0d5d8920e3e522427342d366d722eb35be /src/udev/scsi_id | |
parent | a974cacd9ac179599f3645409664ccb254ed6bbb (diff) | |
download | systemd-25e773eeb4f853804e1bf0dbd9a184f23e9b2a97.tar.gz systemd-25e773eeb4f853804e1bf0dbd9a184f23e9b2a97.tar.bz2 systemd-25e773eeb4f853804e1bf0dbd9a184f23e9b2a97.zip |
udev: switch to systemd logging functions
Diffstat (limited to 'src/udev/scsi_id')
-rw-r--r-- | src/udev/scsi_id/scsi_id.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/udev/scsi_id/scsi_id.c b/src/udev/scsi_id/scsi_id.c index 48c6cf7dba..1c269084aa 100644 --- a/src/udev/scsi_id/scsi_id.c +++ b/src/udev/scsi_id/scsi_id.c @@ -63,14 +63,6 @@ static char model_enc_str[256]; static char revision_str[16]; static char type_str[16]; -_printf_(6,0) -static void log_fn(struct udev *udev, int priority, - const char *file, int line, const char *fn, - const char *format, va_list args) -{ - log_metav(priority, file, line, fn, format, args); -} - static void set_type(const char *from, char *to, size_t len) { int type_num; @@ -390,7 +382,6 @@ static int set_options(struct udev *udev, case 'v': log_set_target(LOG_TARGET_CONSOLE); log_set_max_level(LOG_DEBUG); - udev_set_log_priority(udev, LOG_DEBUG); log_open(); break; @@ -591,8 +582,6 @@ int main(int argc, char **argv) if (udev == NULL) goto exit; - udev_set_log_fn(udev, log_fn); - /* * Get config file options. */ |