summaryrefslogtreecommitdiff
path: root/src/dd.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-03-15 17:54:50 +0000
committerJim Meyering <jim@meyering.net>1998-03-15 17:54:50 +0000
commit6684ffa826953b473fe8d7b93770905d081dda74 (patch)
treecdd766842381aab41179bf6b4c9b12295aa40572 /src/dd.c
parentbfbc3ce20cdcfd00c27922c2e78cbff43846fe0d (diff)
downloadcoreutils-6684ffa826953b473fe8d7b93770905d081dda74.tar.xz
Use #if, not #ifdef with HAVE_ macros.
Use #if !, not #ifndef with HAVE_ macros.
Diffstat (limited to 'src/dd.c')
-rw-r--r--src/dd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dd.c b/src/dd.c
index 538d74008..276dce1b9 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -1106,7 +1106,7 @@ main (int argc, char **argv)
output_fd = open (output_file, omode, 0666);
if (output_fd < 0)
error (1, errno, "%s", output_file);
-#ifdef HAVE_FTRUNCATE
+#if HAVE_FTRUNCATE
if (seek_record != 0 && !(conversions_mask & C_NOTRUNC))
{
off_t o = seek_record * output_blocksize;