diff options
| author | safa <none@none> | 2005-06-14 17:51:52 -0700 |
|---|---|---|
| committer | safa <none@none> | 2005-06-14 17:51:52 -0700 |
| commit | 3a4e43d378285d2864157e01772fa21aa7a4dba7 (patch) | |
| tree | d3cf589d302c4e8927fcd8a381a9a59c0f0acd8d /usr/src/cmd/raidctl | |
| parent | 6d512983e2ccfb4a06a5df6528b54a7350ef7c91 (diff) | |
| download | illumos-joyent-3a4e43d378285d2864157e01772fa21aa7a4dba7.tar.gz | |
6231012 mpt driver returns negative disk ids for raid volumes under some conditions
Diffstat (limited to 'usr/src/cmd/raidctl')
| -rw-r--r-- | usr/src/cmd/raidctl/raidctl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/cmd/raidctl/raidctl.c b/usr/src/cmd/raidctl/raidctl.c index cfc1ff7207..8ebd74d218 100644 --- a/usr/src/cmd/raidctl/raidctl.c +++ b/usr/src/cmd/raidctl/raidctl.c @@ -20,7 +20,7 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -182,6 +182,10 @@ static void raidctl_error(char *str) { switch (errno) { + case EINVAL: + (void) fprintf(stderr, gettext("Error: " + "invalid argument would be returned\n")); + break; case EIO: case EFAULT: (void) fprintf(stderr, |
