summaryrefslogtreecommitdiff
path: root/sbin/atactl/atactl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/atactl/atactl.c')
-rw-r--r--sbin/atactl/atactl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/atactl/atactl.c b/sbin/atactl/atactl.c
index e58993d7d72..dbf4fce6890 100644
--- a/sbin/atactl/atactl.c
+++ b/sbin/atactl/atactl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atactl.c,v 1.26 2003/01/14 23:53:25 avsm Exp $ */
+/* $OpenBSD: atactl.c,v 1.27 2003/02/20 21:47:27 millert Exp $ */
/* $NetBSD: atactl.c,v 1.4 1999/02/24 18:49:14 jwise Exp $ */
/*-
@@ -484,7 +484,7 @@ device_dump(int argc, char *argv[])
if ((error = ioctl(fd, ATAIOGETTRACE, &agt)) == -1)
err(1, "ATAIOGETTRACE failed");
- write(1, agt.buf, agt.bytes_copied);
+ write(STDOUT_FILENO, agt.buf, agt.bytes_copied);
fprintf(stderr, "%d bytes written\n", agt.bytes_copied);
return;