diff options
-rw-r--r-- | src/osmo-bts-sysmo/eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/eeprom.c b/src/osmo-bts-sysmo/eeprom.c index 7b579cd6..8b2c1175 100644 --- a/src/osmo-bts-sysmo/eeprom.c +++ b/src/osmo-bts-sysmo/eeprom.c @@ -1388,7 +1388,7 @@ static int eeprom_write( int addr, int size, const char *pBuff ) } g_file = f; } - if (fseek( f, addr, SEEK_SET ) == 0) + if (fseek( f, addr, SEEK_SET ) != 0) { perror( "eeprom fseek" ); n = -1; |