Skip to content

Commit

Permalink
fix a mistake
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
Kenji Miyake committed Oct 24, 2022
1 parent c493f1d commit 99eeb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/system_monitor/reader/hdd_reader/hdd_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ int get_hdd_info(boost::archive::text_iarchive & ia, boost::archive::text_oarchi
continue;
}
// Get SMART DATA for ATA drive
info.error_code_ = get_ata_SmartData(fd, &info, hdd_device);
info.error_code_ = get_ata_smart_data(fd, &info, hdd_device);
if (info.error_code_ != 0) {
syslog(LOG_ERR, "Failed to get SMART LOG for ATA drive. %s\n", strerror(info.error_code_));
close(fd);
Expand Down

0 comments on commit 99eeb78

Please sign in to comment.