Ticket #1775: nfs_patch_v1.diff

File nfs_patch_v1.diff, 485 bytes (added by strauman, on Jul 13, 2011 at 4:05:40 PM)

Fix bad use of nfs_evalpath_arg union

  • cpukit/libfs/src/nfsclient/src/nfs.c

    diff -rupN rtems/cpukit/libfs/src/nfsclient/src/nfs.c rtems-4.10/cpukit/libfs/src/nfsclient/src/nfs.c
    old new  
    15741575                 */
    15751576                assert( node->args.name );
    15761577
    1577                 *(const char**)arg = pathname + (node->args.name - p);
     1578                *(arg->c) = pathname + (node->args.name - p);
    15781579
    15791580#if 0
    15801581                /* restore the directory node */