mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Write the "msinfo" result to stdout instead of stderr
This commit is contained in:
parent
a2e4c36a49
commit
97d35cf5f8
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue