summaryrefslogtreecommitdiff
path: root/diskio-unix.cc
diff options
context:
space:
mode:
authorRoderick W. Smith <rodsmith@rodsbooks.com>2015-06-19 10:26:17 -0400
committerRoderick W. Smith <rodsmith@rodsbooks.com>2015-06-19 10:26:17 -0400
commit42166485c5c68b868be0a41fe17f198da4ac8f22 (patch)
tree19518003208421554d9d41db63c82edb8f78c46c /diskio-unix.cc
parent90175303379864de3393a9b76a32b01193714f92 (diff)
downloadsgdisk-42166485c5c68b868be0a41fe17f198da4ac8f22.tar.gz
Fixed odd compile problem.
Diffstat (limited to 'diskio-unix.cc')
-rw-r--r--diskio-unix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/diskio-unix.cc b/diskio-unix.cc
index d17fbd3..af71cdb 100644
--- a/diskio-unix.cc
+++ b/diskio-unix.cc
@@ -75,7 +75,7 @@ int DiskIO::OpenForRead(void) {
if (S_ISDIR(st.st_mode))
cerr << "The specified path is a directory!\n";
#if !(defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) \
- && !defined(__APPLE__)
+ && !defined(__APPLE__)
else if (S_ISCHR(st.st_mode))
cerr << "The specified path is a character device!\n";
#endif