]> granicus.if.org Git - strace/commitdiff
tests/symlinkat.c: cleanup
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 21 Apr 2016 21:25:29 +0000 (21:25 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 21 Apr 2016 22:05:56 +0000 (22:05 +0000)
tests/symlinkat.c

index aada5e5041d63abb997ed7961c6eda3116cafe97..e302d9493a0ea38ef24a4487e0dc4c1055ee1fef 100644 (file)
@@ -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;