diff options
author | sos <sos@FreeBSD.org> | 2002-01-05 15:21:05 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2002-01-05 15:21:05 +0000 |
commit | 7d08d56b179fcf0f73a476d49e438d7c5bf6a170 (patch) | |
tree | 5cc2ed8907ee1f3d46f63d1b5af3753030ddef79 /usr.sbin/burncd | |
parent | 8b9a0acd48bb797b76f813734e242707b52f9234 (diff) | |
download | FreeBSD-src-7d08d56b179fcf0f73a476d49e438d7c5bf6a170.zip FreeBSD-src-7d08d56b179fcf0f73a476d49e438d7c5bf6a170.tar.gz |
Write the "msinfo" result to stdout instead of stderr
Diffstat (limited to 'usr.sbin/burncd')
-rw-r--r-- | usr.sbin/burncd/burncd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/burncd/burncd.c b/usr.sbin/burncd/burncd.c index 9b7641f..88132b2 100644 --- a/usr.sbin/burncd/burncd.c +++ b/usr.sbin/burncd/burncd.c @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2000,2001 Søren Schmidt <sos@freebsd.org> + * Copyright (c) 2000,2001,2002 Søren Schmidt <sos@freebsd.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -161,7 +161,7 @@ main(int argc, char **argv) err(EX_IOERR, "ioctl(CDIOREADTOCENTRY)"); if (ioctl(fd, CDRIOCNEXTWRITEABLEADDR, &addr) < 0) err(EX_IOERR, "ioctl(CDRIOCNEXTWRITEABLEADDR)"); - fprintf(stderr, "%d, %d\n", + fprintf(stdout, "%d,%d\n", ntohl(entry.entry.addr.lba), addr); break; |