From: Dmitry V. Levin Date: Thu, 21 Apr 2016 21:25:29 +0000 (+0000) Subject: tests/symlinkat.c: cleanup X-Git-Tag: v4.12~319 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bc585ecc8f0d46d1d7562cf57a0b872dbb31df8;p=strace tests/symlinkat.c: cleanup --- diff --git a/tests/symlinkat.c b/tests/symlinkat.c index aada5e50..e302d949 100644 --- a/tests/symlinkat.c +++ b/tests/symlinkat.c @@ -13,10 +13,10 @@ main(void) const long int fd = (long int) 0xdeadbeefffffffff; static const char oldpath[] = "symlink_old"; static const char newpath[] = "symlink_new"; + long rc = syscall(__NR_symlinkat, oldpath, fd, newpath); printf("symlinkat(\"%s\", %d, \"%s\") = %ld %s (%m)\n", - oldpath, (int) fd, newpath, rc, - errno2name()); + oldpath, (int) fd, newpath, rc, errno2name()); puts("+++ exited with 0 +++"); return 0;