Skip to content

Commit

Permalink
Fix spelling of symbolAquire -> symbolAcquire
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaut committed Oct 30, 2023
1 parent 1c36791 commit 5152b38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Inc/loadelf.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ char *symbolDisassembleLine( struct symbol *p, enum instructionClass *ic, symbol
void symbolDelete( struct symbol *p );

/* Collect symbol set with specified components */
struct symbol *symbolAquire( char *filename, bool loadlines, bool loadmem, bool loadsource );
struct symbol *symbolAcquire( char *filename, bool loadlines, bool loadmem, bool loadsource );

/* Check if current symbols are valid */
bool symbolSetValid( struct symbol *p );
Expand Down
4 changes: 2 additions & 2 deletions Src/loadelf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ bool symbolSetValid( struct symbol *p )

// ====================================================================================================

struct symbol *symbolAquire( char *filename, bool loadlines, bool loadmem, bool loadsource )
struct symbol *symbolAcquire( char *filename, bool loadlines, bool loadmem, bool loadsource )

/* Collect symbol set with specified components */

Expand Down Expand Up @@ -1237,7 +1237,7 @@ void main( int argc, char *argv[] )

{
enum instructionClass ic;
struct symbol *p = symbolAquire( argv[1], true, true, true );
struct symbol *p = symbolAcquire( argv[1], true, true, true );

if ( !p )
{
Expand Down
4 changes: 2 additions & 2 deletions Src/orbmortem.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ static bool _dumpBuffer( struct RunTime *r )
{
symbolDelete( r->s );

if ( !( r->s = symbolAquire( r->options->elffile, true, true, true ) ) )
if ( !( r->s = symbolAcquire( r->options->elffile, true, true, true ) ) )
{
genericsReport( V_ERROR, "Elf file or symbols in it not found" EOL );
return false;
Expand Down Expand Up @@ -1270,7 +1270,7 @@ int main( int argc, char *argv[] )
}

/* Check we've got _some_ symbols to start from */
_r.s = symbolAquire( _r.options->elffile, true, true, true );
_r.s = symbolAcquire( _r.options->elffile, true, true, true );

if ( !_r.s )
{
Expand Down

0 comments on commit 5152b38

Please sign in to comment.