diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-28 09:24:13 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-28 09:24:13 -0500 |
commit | 84b7e98b805b86e4d63e2ce38a490e86541ed0da (patch) | |
tree | 1de28d332cb63886a4d9b2e674a8bff453d13f75 /hscript/disk.cc | |
parent | 50d5571b30e05d852ef219ba5d9bf64c12b4e9f0 (diff) | |
download | horizon-84b7e98b805b86e4d63e2ce38a490e86541ed0da.tar.gz horizon-84b7e98b805b86e4d63e2ce38a490e86541ed0da.tar.bz2 horizon-84b7e98b805b86e4d63e2ce38a490e86541ed0da.tar.xz horizon-84b7e98b805b86e4d63e2ce38a490e86541ed0da.zip |
hscript: Make line a long for alignment
Diffstat (limited to 'hscript/disk.cc')
-rw-r--r-- | hscript/disk.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hscript/disk.cc b/hscript/disk.cc index aafa08c..3de34e1 100644 --- a/hscript/disk.cc +++ b/hscript/disk.cc @@ -38,7 +38,8 @@ using namespace Horizon::Keys; * @returns true if _block is valid, false otherwise. * @note Will output_error if an error occurs. */ -bool is_block_device(const std::string &key, int line, const std::string &_block) { +bool is_block_device(const std::string &key, long line, + const std::string &_block) { struct stat blk_stat; const char *block_c = _block.c_str(); if(access(block_c, F_OK) != 0 || stat(block_c, &blk_stat) != 0) { |