~ubuntu-branches/ubuntu/quantal/numactl/quantal

« back to all changes in this revision

Viewing changes to numademo.c

  • Committer: Package Import Robot
  • Author(s): Ian Wienand
  • Date: 2012-07-01 00:11:37 UTC
  • mfrom: (1.3.8)
  • Revision ID: package-import@ubuntu.com-20120701001137-g25oxsd8vagpeqrm
Tags: 2.0.8~rc4-1
New upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
529
529
#ifdef HAVE_STREAM_LIB
530
530
                test(STREAM);
531
531
#endif
532
 
                test(PTRCHASE);
 
532
                if (msize >= sizeof(union node)) {
 
533
                        test(PTRCHASE);
 
534
                } else {
 
535
                        fprintf(stderr, "You must set msize at least %lu bytes for ptrchase test.\n",
 
536
                                sizeof(union node));
 
537
                        exit(1);
 
538
                }
533
539
        } else {
534
540
                int k;
535
541
                for (k = 2; k < ac; k++) {