diff options
author | ps154918 <none@none> | 2006-03-23 10:15:31 -0800 |
---|---|---|
committer | ps154918 <none@none> | 2006-03-23 10:15:31 -0800 |
commit | 821a83dbe7cba700cd57da95bf981850118f369e (patch) | |
tree | b2b153fbd6bfbd13adab0696a2ee2dd9701941a9 /usr/src/lib/libfru | |
parent | a222db82aa8aaee84f3cba02cf799fe851fa7ac3 (diff) | |
download | illumos-joyent-821a83dbe7cba700cd57da95bf981850118f369e.tar.gz |
6349317 The fruadm utility needs significant cleanup
6354980 libfru PayloadReader::getOffsetIntoRecord reaches end of method without returning a value
Diffstat (limited to 'usr/src/lib/libfru')
-rw-r--r-- | usr/src/lib/libfru/libfru/PayloadReader.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/lib/libfru/libfru/PayloadReader.cc b/usr/src/lib/libfru/libfru/PayloadReader.cc index 60a347f31d..892c7b93a3 100644 --- a/usr/src/lib/libfru/libfru/PayloadReader.cc +++ b/usr/src/lib/libfru/libfru/PayloadReader.cc @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -106,7 +105,7 @@ PayloadReader::getOffsetIntoRecord(fru_regdef_t *recDef, (char *)recDef->enumTable[i].text); rc += tmpDef->payloadLen; } - + return(0); } // =========================================================================== |