Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/hw/misc/virtchar1.c

    rb713ff80 r12f9f0d0  
    4848#include "../../tester.h"
    4949
    50 #define DEVICE_PATH_NORMAL  "/loc/devices/\\virt\\null\\a"
    51 
    52 #define BUFFER_SIZE  64
     50#define DEVICE_PATH_NORMAL "/loc/devices/\\virt\\null\\a"
     51#define BUFFER_SIZE 64
    5352
    5453static const char *test_virtchar1_internal(const char *path)
     
    6665       
    6766        TPRINTF("   ...file handle %d\n", fd);
    68        
     67
    6968        TPRINTF(" Asking for session...\n");
    7069        async_sess_t *sess = fd_session(EXCHANGE_SERIALIZE, fd);
     
    9796
    9897const char *test_virtchar1(void)
    99 {
    100         const char *res = test_virtchar1_internal(DEVICE_PATH_NORMAL);
    101         if (res != NULL)
     98{;
     99        const char *res;
     100
     101        res = test_virtchar1_internal(DEVICE_PATH_NORMAL);
     102        if (res != NULL) {
    102103                return res;
    103        
     104        }
     105
    104106        return NULL;
    105107}
Note: See TracChangeset for help on using the changeset viewer.