os.c: fixed a missing variable