diff options
| author | Artem Kachitchkine <Artem.Kachitchkin@Sun.COM> | 2009-09-05 09:21:22 -0700 |
|---|---|---|
| committer | Artem Kachitchkine <Artem.Kachitchkin@Sun.COM> | 2009-09-05 09:21:22 -0700 |
| commit | 97ddcdce0091922bf2049977a3d42ba4fc0857a6 (patch) | |
| tree | 481c623ceeb5d52933d891d1df2311e7e9feda59 /usr/src/cmd/volcheck | |
| parent | d25a0be92761da6c8943a1cee6a5e689eca1bf64 (diff) | |
| download | illumos-joyent-97ddcdce0091922bf2049977a3d42ba4fc0857a6.tar.gz | |
PSARC/2009/058 physical eject button
6795138 Solaris ignores eject button on optical drives
Diffstat (limited to 'usr/src/cmd/volcheck')
| -rw-r--r-- | usr/src/cmd/volcheck/volcheck.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/cmd/volcheck/volcheck.c b/usr/src/cmd/volcheck/volcheck.c index f4aa7cfa05..f53b5375a7 100644 --- a/usr/src/cmd/volcheck/volcheck.c +++ b/usr/src/cmd/volcheck/volcheck.c @@ -19,12 +19,10 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -83,7 +81,7 @@ main(int argc, char **argv) } } - if ((hal_ctx = rmm_hal_init(0, 0, 0, &error, &rmm_error)) == NULL) { + if ((hal_ctx = rmm_hal_init(0, 0, 0, 0, &error, &rmm_error)) == NULL) { (void) fprintf(stderr, gettext("HAL initialization failed: %s\n"), rmm_strerror(&error, rmm_error)); |
