Write the "msinfo" result to stdout instead of stderr

This commit is contained in:
sos 2002-01-05 15:21:05 +00:00
parent 8b9a0acd48
commit 7d08d56b17

View File

@ -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;